Skip to content

Commit

Permalink
added auth to pull image
Browse files Browse the repository at this point in the history
  • Loading branch information
garethahealy committed Nov 12, 2024
1 parent db0bc8b commit 3df5966
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/manage-github-org.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ on:

env:
PERIBOLOS_TOKEN: ${{ secrets.PERIBOLOS_TOKEN }}
PKG_DEV_KEY: ${{ secrets.PKG_DEV_KEY }}
GHPROXY_IMAGE: ${{ inputs.GHPROXY_IMAGE }}
GHPROXY_IMAGE_VERSION: ${{ inputs.GHPROXY_IMAGE_VERSION }}
PERIBOLOS_IMAGE: ${{ inputs.PERIBOLOS_IMAGE }}
Expand Down Expand Up @@ -71,6 +72,8 @@ jobs:
run: |
echo ${{ env.PERIBOLOS_TOKEN }} > $RUNNER_TEMP/token
echo "${{ env.PKG_DEV_KEY }}" | docker login us-docker.pkg.dev --username _json_key_base64 --password-stdin
docker run --rm \
--network=${{ env.DOCKER_NETWORK }} \
-v $RUNNER_TEMP/token:/etc/github/token \
Expand Down

0 comments on commit 3df5966

Please sign in to comment.