Skip to content

Commit

Permalink
A second attempt at enabling git ssh
Browse files Browse the repository at this point in the history
  • Loading branch information
inchuev committed Apr 25, 2024
1 parent 283f6f4 commit c0c1750
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ jobs:
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
org-automation-token: ${{ secrets.ORG_AUTOMATION_TOKEN }}
region: ${{ inputs.region }}
tags: |
${{ inputs.tags }}
Expand Down
5 changes: 5 additions & 0 deletions build-push/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ runs:
--username AWS --password-stdin ${{ inputs.registry }}
shell: bash

- name: Setup git PAT override
run: |
git config --global --add url."https://${{ inputs.org-automation-token }}:@github".insteadOf ssh://git@github
shell: bash

- name: Docker Deps
run: |
docker build -t ${{ inputs.registry }}:deps -f ${{ inputs.file }} .
Expand Down

0 comments on commit c0c1750

Please sign in to comment.