Skip to content

Commit

Permalink
vvv
Browse files Browse the repository at this point in the history
  • Loading branch information
cpanato committed Jun 21, 2024
1 parent 412c125 commit e385ad0
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build-terminal-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,23 +56,23 @@ jobs:

- name: configure docker
run: |
gcloud auth configure-docker "${{ secrets.TERMINAL_REGISTRY_URL }}"
gcloud auth configure-docker
# - name: apko login
# shell: bash
# working-directory: /tmp/
# run: |
# docker run --rm -v ${PWD}/:/root/ cgr.dev/chainguard/apko login \
# "${{ secrets.TERMINAL_REGISTRY_URL }}" \
# --password=${{ steps.auth.outputs.access_token }} \
# --username="oauth2accesstoken"
- name: apko login
shell: bash
working-directory: /tmp
run: |
docker run --rm -v ${PWD}/:/root/ cgr.dev/chainguard/apko login \
"${{ secrets.TERMINAL_REGISTRY_URL }}" \
--password=${{ steps.auth.outputs.access_token }} \
--username="oauth2accesstoken"
- name: apko publish
shell: bash
working-directory: terminal-images/${{ matrix.image }}
run: |
docker run --rm \
-v /home/runner/.docker/config.json:/root/.docker/config.json \
-v /tmp/.docker/config.json:/root/.docker/config.json \
-v ${PWD}/:/work \
cgr.dev/chainguard/apko publish \
--arch x86_64 apko.yaml \
Expand Down

0 comments on commit e385ad0

Please sign in to comment.