Skip to content

Commit

Permalink
debug image tag
Browse files Browse the repository at this point in the history
  • Loading branch information
dtrai2 committed Dec 17, 2024
1 parent 30eaae0 commit cccdb0f
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/container-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,15 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Create Image Tags
id: image-tag
run: |
python -c "print(', '.join([f'ghcr.io/fkie-cad/logprep:py${{ matrix.python-version }}-{tag}' for tag in '${{ inputs.tags }}'.split(',')]))"
- name: Debug Image Tag
run: |
echo "${{ image-tag.output }}"
- name: Build image and export to Docker
uses: docker/build-push-action@v6
id: build-and-push
Expand All @@ -43,10 +52,6 @@ jobs:
tags: ${{ inputs.tags }}
# ghcr.io/fkie-cad/logprep:py${{ matrix.python-version }}-${{ github.head_ref }}

- name: Test Python
run: |
python --version
- name: Ensure logprep is available in image
run: |
docker run --rm ghcr.io/fkie-cad/logprep@${{ steps.build-and-push.outputs.digest }} --version
Expand Down

0 comments on commit cccdb0f

Please sign in to comment.