Skip to content

Commit

Permalink
debug tags
Browse files Browse the repository at this point in the history
  • Loading branch information
dtrai2 committed Dec 17, 2024
1 parent a60b3bd commit f319246
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/container-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@ jobs:
python-version: [ "3.10", "3.11", "3.12" ]

steps:
- name: Create Image Tags
id: image-tag
run: |
python -c "print('tags', ', '.join([f'ghcr.io/fkie-cad/logprep:py${{ matrix.python-version }}-{tag.strip()}' for tag in '${{ inputs.tags }}'.split(',')]), sep='')" >> $GITHUB_OUTPUT
- name: Debug Image Tag
run: |
echo "${{ steps.image-tag.outputs.tags }}"
- uses: actions/checkout@v4
with:
fetch-depth: 0
Expand All @@ -31,14 +40,7 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Create Image Tags
id: image-tag
run: |
python -c "print('tags', ', '.join([f'ghcr.io/fkie-cad/logprep:py${{ matrix.python-version }}-{tag.strip()}' for tag in '${{ inputs.tags }}'.split(',')]), sep="")" >> $GITHUB_OUTPUT

- name: Debug Image Tag
run: |
echo "${{ steps.image-tag.outputs.tags }}"

- name: Build image and export to Docker
uses: docker/build-push-action@v6
Expand Down

0 comments on commit f319246

Please sign in to comment.