Skip to content

Commit

Permalink
Authenticate to pull team-ai base image
Browse files Browse the repository at this point in the history
  • Loading branch information
birgitta410 committed Apr 9, 2024
1 parent 614073e commit 9ac61a7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ github.repository }}

- name: Authenticate to Team AI GH repo (TODO remove once repo is public)
run: |
echo '{"auths":{"ghcr.io":{"auth":"'$(echo -n ${{ secrets.GH_REGISTRY_TOKEN }} | base64)'"}}}' > $HOME/.docker/config.json
env:
GH_REGISTRY_TOKEN: ${{ secrets.GH_REGISTRY_TOKEN }}


- name: Kaniko build community instance image
# if: steps.changes.outputs.build == 'true'
id: 'kaniko-community-instance'
Expand Down

0 comments on commit 9ac61a7

Please sign in to comment.