Update build.yml

This commit is contained in:
Kroese 2023-04-03 23:45:38 +02:00 committed by GitHub
parent 336757e693
commit 01d3a9c1fe

View File

@ -35,10 +35,10 @@ jobs:
-
name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Push image to Github Container Registry
run: docker push "ghcr.io/${{ github.repository }}:${{ secrets.MAJOR }}.${{ secrets.MINOR }}" && docker push "ghcr.io/${{ github.repository }}:latest"