Skip to content

Commit

Permalink
try running docker --version before ecr login
Browse files Browse the repository at this point in the history
  • Loading branch information
lukey-luke committed Jan 22, 2025
1 parent cd6a562 commit 02710a5
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/docker_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ permissions:
id-token: write
contents: read

#env:
# VAULT_PW: ${{ secrets.VAULT_PW }}
# REPORT_COVERAGE: true

jobs:
docker_build:
runs-on: self-hosted
Expand All @@ -38,6 +34,9 @@ jobs:
aws-region: ${{ vars.AWS_REGION }}
role-to-assume: arn:aws:iam::${{ secrets.ACCOUNT_ID }}:role/delegatedadmin/developer/dpc-dev-github-actions

- name: Check docker version
run: docker --version

- name: Login to Amazon ECR
uses: aws-actions/amazon-ecr-login@v2

Expand All @@ -53,9 +52,6 @@ jobs:
with:
java-version: "11"

- name: Docker manually
run: docker --version && docker compose -f ./docker-compose.base.yml build base

- name: Build app
run: make ci-app

Expand Down

0 comments on commit 02710a5

Please sign in to comment.