diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 406d4e3..b473939 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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'