Skip to content

Commit

Permalink
Build images on custom runner
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorjerse committed Aug 29, 2024
1 parent ef17c1b commit 1eca4df
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/docker_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,13 @@ env:

jobs:
build:
runs-on: ubuntu-22.04
runs-on: arc-runner
steps:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ vars.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ env.AWS_REGION }}
- name: Reset Docker credentials store
run: |
# Docker is configured to use the ecr credentials helper,
# which clashes with the aws-actions/configure-aws-credentials action.
rm -f ~/.docker/config.json
- name: Login to AWS ECR
uses: docker/login-action@v3
Expand Down

0 comments on commit 1eca4df

Please sign in to comment.