Skip to content

Commit

Permalink
fix: go-totp_* --> go-totp-* for image tags
Browse files Browse the repository at this point in the history
Docker now uses hyphen rather than under_score for compose images.
  • Loading branch information
KEINOS committed Aug 12, 2024
1 parent 42c796f commit f1d0a55
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ jobs:
- name: Load cached Docker images if any
if: steps.cache.outputs.cache-hit == 'true'
run: |
docker load --input ${{ env.PATH_CACHE }}/${{ steps.imagetag.outputs.hash }}/go-totp_v1_22_1.tar
docker load --input ${{ env.PATH_CACHE }}/${{ steps.imagetag.outputs.hash }}/go-totp_latest_1.tar
docker load --input ${{ env.PATH_CACHE }}/${{ steps.imagetag.outputs.hash }}/go-totp-v1_22_1.tar
docker load --input ${{ env.PATH_CACHE }}/${{ steps.imagetag.outputs.hash }}/go-totp-latest_1.tar
- name: Pull base images if no-cache
if: steps.cache.outputs.cache-hit != 'true'
Expand All @@ -64,8 +64,8 @@ jobs:
if: steps.cache.outputs.cache-hit != 'true'
run: |
mkdir -p ${{ env.PATH_CACHE }}/${{ steps.imagetag.outputs.hash }}
docker save --output ${{ env.PATH_CACHE }}/${{ steps.imagetag.outputs.hash }}/go-totp_v1_22_1.tar go-totp_v1_22:latest
docker save --output ${{ env.PATH_CACHE }}/${{ steps.imagetag.outputs.hash }}/go-totp_latest_1.tar go-totp_latest:latest
docker save --output ${{ env.PATH_CACHE }}/${{ steps.imagetag.outputs.hash }}/go-totp-v1_22_1.tar go-totp-v1_22:latest
docker save --output ${{ env.PATH_CACHE }}/${{ steps.imagetag.outputs.hash }}/go-totp-latest_1.tar go-totp-latest:latest
- name: Run tests on Go 1.22
run: docker compose run v1_22
Expand Down

0 comments on commit f1d0a55

Please sign in to comment.