From f1d0a55fb146a5481851d06b9a2b9a5b276dad45 Mon Sep 17 00:00:00 2001 From: KEINOS Date: Mon, 12 Aug 2024 09:48:47 +0900 Subject: [PATCH] fix: `go-totp_*` --> `go-totp-*` for image tags Docker now uses hyphen rather than under_score for compose images. --- .github/workflows/unit-tests.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index b5090a9..a9a405b 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -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' @@ -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