File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535 username : ${{ secrets.DOCKERHUB_USERNAME }}
3636 password : ${{ secrets.DOCKERHUB_TOKEN }}
3737
38+ - name : Login to GitHub Container Registry
39+ uses : docker/login-action@v3
40+ with :
41+ registry : ghcr.io
42+ username : ${{ github.actor }}
43+ password : ${{ secrets.GITHUB_TOKEN }}
44+
3845 - name : Build and push Docker image
3946 uses : docker/build-push-action@v5
4047 id : build-and-push
4350 platforms : linux/amd64,linux/arm/v7,linux/arm64
4451 push : true
4552 build-args : VERSION=${{ steps.get_tag.outputs.VERSION }}
46- tags : docker.io/wollomatic/socket-proxy:${{ steps.get_tag.outputs.VERSION }},docker.io/wollomatic/socket-proxy:1
53+ tags : |
54+ docker.io/wollomatic/socket-proxy:${{ steps.get_tag.outputs.VERSION }}
55+ docker.io/wollomatic/socket-proxy:1
56+ ghcr.io/wollomatic/socket-proxy:${{ steps.get_tag.outputs.VERSION }}
57+ ghcr.io/wollomatic/socket-proxy:1
4758
4859 - name : Sign images for all platforms
4960 run : cosign sign --yes --key env://COSIGN_PRIVATE_KEY docker.io/wollomatic/socket-proxy:${{ steps.get_tag.outputs.VERSION }}@${{ steps.build-and-push.outputs.digest }}
You can’t perform that action at this time.
0 commit comments