Skip to content

Commit

Permalink
Update docker version in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
object-Object committed May 7, 2024
1 parent 56693c8 commit e48739c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,14 +120,23 @@ 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
packages: write
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:
Expand Down

0 comments on commit e48739c

Please sign in to comment.