From e48739c6da10a5ffcce669b43e4da668fd40ffcc Mon Sep 17 00:00:00 2001 From: object-Object Date: Tue, 7 May 2024 02:07:34 -0400 Subject: [PATCH] Update docker version in workflow --- .github/workflows/deploy.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 740471b..276f4c8 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -120,7 +120,7 @@ jobs: echo "iam-role-arn=$(echo "$outputs_json" | jq '.GitHubActionsRoleARN' --raw-output)" >> "$GITHUB_OUTPUT" build-image: - needs: [test, scrape-book-types] + # needs: [test, scrape-book-types] runs-on: ubuntu-latest permissions: contents: read @@ -128,6 +128,15 @@ jobs: steps: - uses: actions/checkout@v4 + # https://stackoverflow.com/a/59797984 + - name: Add Docker APT repository + run: sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" + + - name: Install latest Docker version + uses: awalsh128/cache-apt-pkgs-action@v1 + with: + packages: docker-ce docker-ce-cli + - name: Login to GitHub Container Registry uses: docker/login-action@v3 with: