Skip to content

Commit

Permalink
docker-portability-01.yml: fix tags
Browse files Browse the repository at this point in the history
  • Loading branch information
kwabenantim authored Jun 28, 2023
1 parent 2eae969 commit d50c0f5
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/docker-portability-01.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,6 @@ jobs:
HDF5=1.10.4
steps:
- name: test matrix tags
run: |
tags=( ${{ matrix.tags }} )
echo "matrix.tags: ${{ matrix.tags }}"
echo "tags[0]: ${tags[0]}"
echo "tags[1]: ${tags[1]}"
echo "tags[*]: ${tags[*]}"
for tag in "${tags[@]}" do
echo "loop: ${tag}"
done
- name: Checkout
uses: actions/checkout@v3

Expand All @@ -62,7 +51,10 @@ jobs:

- name: Test image
run: |
docker run --rm --entrypoint /bin/bash ${{ matrix.tags[0] }}
tags=( ${{ matrix.tags }} )
for tag in "${tags[@]}"; do
docker run --rm --entrypoint /bin/bash ${tag}
done
- name: Build and push
uses: docker/build-push-action@v4
Expand Down

0 comments on commit d50c0f5

Please sign in to comment.