Skip to content

Commit

Permalink
Issue #3448: declare the name of the Dockerfile
Browse files Browse the repository at this point in the history
we want to build with otobo.web.dockerfile instead of Dockerfile
  • Loading branch information
bschmalhofer committed Jul 24, 2024
1 parent 1ff1c35 commit 3504947
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/docker_image_update_checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,25 @@ jobs:
run: |
echo "The OTOBO web image needs updating: ${{ steps.check.outputs.needs-updating }}"
# TODO: early exit when nothing has to be done
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

-
# build the image, not pushing yet, no pushing as DockerHub access is not set up yet
name: Build and not push
if: steps.check.outputs.needs-updating == 'true'
uses: docker/build-push-action@v6
with:
context: .
file: otobo.web.dockerfile
load: true
tags: ${{ env.TEST_TAG }}

- name: Test
run: |
docker run --rm ${{ env.TEST_TAG }}
docker run --rm ${{ env.TEST_TAG }} cat RELEASE
-
# indicate an error when the base image has changed
Expand Down

0 comments on commit 3504947

Please sign in to comment.