Skip to content

Commit

Permalink
Merge pull request #43 from AssetsArt/main
Browse files Browse the repository at this point in the history
fix: docker
  • Loading branch information
Aitthi authored Mar 7, 2024
2 parents 9546666 + 2ac9fa6 commit 6ea1b34
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/Ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ jobs:
- name: Build Docker image
run: |
docker login ghcr.io -u ${{ github.actor }} -p ${{ secrets.DOCKER_PASSWORD }}
docker buildx build --platform linux/amd64,linux/arm64 -t ghcr.io/assetsart/easy-proxy:${{ github.sha }} . --load
docker buildx build --platform linux/amd64,linux/arm64 -t ghcr.io/assetsart/easy-proxy:${{ github.sha }} . --push
- name: Version to latest tag
run: docker pull ghcr.io/assetsart/easy-proxy:${{ github.sha }}
- name: Version to latest tag
run: docker tag ghcr.io/assetsart/easy-proxy:${{ github.sha }} ghcr.io/assetsart/easy-proxy:latest
- name: Push latest tag to registry
Expand Down

0 comments on commit 6ea1b34

Please sign in to comment.