Skip to content

Commit

Permalink
Fix where we use multiple tags and where not (e.g. not with pytest)
Browse files Browse the repository at this point in the history
  • Loading branch information
oshadura committed Feb 16, 2024
1 parent 726e08f commit 965d346
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/gh-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ jobs:
uses: docker/build-push-action@v5
with:
load: true
tags: ${{ steps.tags.outputs.tag }}
tags: ${{ steps.tags.outputs.tags }}
context: ${{ matrix.image_dir }}
file: ${{ matrix.image_dir }}/Dockerfile.${{ matrix.distro }}
build-args: |
Expand Down Expand Up @@ -153,7 +153,7 @@ jobs:
- name: Test Pytest environement CalVer
if: ${{ matrix.image_dir != 'coffea-base' }}
env:
tag: ${{ steps.tags.outputs.tags }}
tag: ${{ steps.tags.outputs.tag }}
run: |
docker run --rm -v ${{ github.workspace }}:/tmp/workspace ${tag} \
sh -c "pip install -U pytest && cd tmp/workspace && pytest -m calver"
Expand All @@ -165,7 +165,7 @@ jobs:
with:
platforms: linux/amd64
push: ${{ github.event_name == 'push' }}
tags: ${{ steps.tags.outputs.tag }}
tags: ${{ steps.tags.outputs.tags }}
context: ${{ matrix.image_dir }}
file: ${{ matrix.image_dir }}/Dockerfile.${{ matrix.distro }}
build-args: |
Expand All @@ -178,7 +178,7 @@ jobs:
with:
platforms: linux/amd64
push: ${{ github.event_name == 'push' }}
tags: ${{ steps.tags.outputs.tag }}
tags: ${{ steps.tags.outputs.tags }}
context: ${{ matrix.image_dir }}
file: ${{ matrix.image_dir }}/Dockerfile.${{ matrix.distro }}
build-args: |
Expand Down

0 comments on commit 965d346

Please sign in to comment.