fix: Enables image pushing for any git branch push
All checks were successful
Build (and tag) Images / build (push) Successful in 35s

This commit is contained in:
Vincent Mahnke 2025-10-13 19:23:50 +02:00
commit 1e6f858426

View file

@ -32,20 +32,21 @@ jobs:
echo "tag=${{ github.ref_name }}" >> $GITHUB_OUTPUT
fi
- name: Build images
- name: Build web image
run: |
pushd ./web
docker build -f ./Containerfile -t git.hamburg.ccc.de/ccchh/sunders/web:${{ steps.vars.outputs.tag }} .
popd
pushd ./data_handler
working-directory: ./web
- name: Build data_handler image
run: |
docker build -f ./Containerfile -t git.hamburg.ccc.de/ccchh/sunders/data_handler:${{ steps.vars.outputs.tag }} .
popd
working-directory: ./data_handler
- name: Push images to Container Registry
run: |
docker push git.hamburg.ccc.de/ccchh/sunders/web:${{ steps.vars.outputs.tag }}
docker push git.hamburg.ccc.de/ccchh/sunders/data_handler:${{ steps.vars.outputs.tag }}
if: github.event_name == 'push' && github.ref_name == 'main'
if: github.event_name == 'push'
- name: Update docker-compose.yml image tags
run: |