Skip to content

Commit

Permalink
update the login and build-push actions (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
devigned authored Sep 1, 2022
1 parent b1a49f9 commit 2be6fb5
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,17 +67,20 @@ jobs:
- name: setup buildx
uses: docker/setup-buildx-action@v1
- name: login to GitHub container registry
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
context: images/spin
- name: build and push Spin hello world
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
push: true
tags: |
ghcr.io/deislabs/containerd-wasm-shims/examples/spin-rust-hello:${{ env.RELEASE_VERSION }}
ghcr.io/deislabs/containerd-wasm-shims/examples/spin-rust-hello:latest
context: images/spin
context: images/spin
- name: clear
if: always()
run: |
rm -f ${HOME}/.docker/config.json

0 comments on commit 2be6fb5

Please sign in to comment.