Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
linjinbao66 committed Apr 11, 2021
1 parent c393e8e commit 5cae957
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/pkg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: docker-login
uses: docker-practice/actions-setup-docker@master
- name: execute login
run: |
set -x
docker version
echo ${{ secrets.REGISTRY_TOKEN }} | docker login docker.pkg.github.com -u linjinbao --password-stdin
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: checkout
uses: actions/checkout@master
- name: execute script
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/registry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,4 @@ jobs:
github-token: ${{ secrets.REGISTRY_TOKEN }}
image-name: gcr-image-transfer
image-tag: latest
- name: execute bash
run: |
./transfer-to-registry.sh
docker images

0 comments on commit 5cae957

Please sign in to comment.