Update build.yml

This commit is contained in:
Kroese 2023-04-04 00:01:10 +02:00 committed by GitHub
parent 37100e6ccf
commit ecca07f8cf

View File

@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v3
-
name: Build the Docker image
run: docker build . --file Dockerfile --label "id=${GITHUB_RUN_ID}" --label "version=${{ secrets.MAJOR }}.${{ secrets.MINOR }}" --tag "${{ github.repository }}:latest" --tag "${{ github.repository }}:${{ secrets.MAJOR }}.${{ secrets.MINOR }}"
run: docker build . --file Dockerfile --label "id=${GITHUB_RUN_ID}" --label "version=${{ secrets.MAJOR }}.${{ secrets.MINOR }}" --tag "${{ github.repository }}:latest" --tag "${{ github.repository }}:${{ secrets.MAJOR }}.${{ secrets.MINOR }}" --tag "ghcr.io/${{ github.repository }}:latest" --tag "ghcr.io/${{ github.repository }}:${{ secrets.MAJOR }}.${{ secrets.MINOR }}"
-
name: Login to Docker Hub
uses: docker/login-action@v2