fix local build pipeline

This commit is contained in:
karmaking 2025-12-19 10:34:19 +01:00 committed by simonredfern
parent a19e196fe6
commit 02250d3c92

View File

@ -21,6 +21,6 @@ jobs:
- uses: actions/checkout@v4
- name: Build the Docker image with latest tag
run: |
docker build . --file Dockerfiles/Dockerfile_backend --tag docker.io/${{ env.DOCKER_HUB_ORGANIZATION }}/${{ env.DOCKER_HUB_REPOSITORY }}:$GITHUB_SHA --tag docker.io/${{ env.DOCKER_HUB_ORGANIZATION }}/${{ env.DOCKER_HUB_REPOSITORY }}:${{ steps.extract_branch.outputs.branch }} --tag docker.io/${{ env.DOCKER_HUB_ORGANIZATION }}/${{ env.DOCKER_HUB_REPOSITORY }}:latest
docker build . --file Dockerfiles/Dockerfile_frontend --tag docker.io/${{ env.DOCKER_HUB_ORGANIZATION }}/${{ env.DOCKER_HUB_REPOSITORY }}-nginx:$GITHUB_SHA --tag docker.io/${{ env.DOCKER_HUB_ORGANIZATION }}/${{ env.DOCKER_HUB_REPOSITORY }}-nginx:${{ steps.extract_branch.outputs.branch }} --tag docker.io/${{ env.DOCKER_HUB_ORGANIZATION }}/${{ env.DOCKER_HUB_REPOSITORY }}-nginx:latest
docker build . --file Dockerfiles/Dockerfile_backend --tag docker.io/simon-local/${{ env.DOCKER_HUB_REPOSITORY }}:$GITHUB_SHA --tag docker.io/simon-local/${{ env.DOCKER_HUB_REPOSITORY }}:${{ steps.extract_branch.outputs.branch }} --tag docker.io/simon-local/${{ env.DOCKER_HUB_REPOSITORY }}:latest
docker build . --file Dockerfiles/Dockerfile_frontend --tag docker.io/simon-loacl/${{ env.DOCKER_HUB_REPOSITORY }}-nginx:$GITHUB_SHA --tag docker.io/simon-local/${{ env.DOCKER_HUB_REPOSITORY }}-nginx:${{ steps.extract_branch.outputs.branch }} --tag docker.io/simon-local/${{ env.DOCKER_HUB_REPOSITORY }}-nginx:latest
echo docker api-explorer-ii with latest tag done