Skip to content

Commit

Permalink
move to ghcr (#271)
Browse files Browse the repository at this point in the history
  • Loading branch information
anibmurthy authored Feb 23, 2023
1 parent 2b3a631 commit b780f4d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -356,12 +356,12 @@ jobs:
chmod +x ./crane
sudo mv ./crane /usr/local/bin
cd -
- name: Docker login
run: |
echo "$DOCKERHUB_PASSWORD" | docker login --username $DOCKERHUB_USERNAME --password-stdin
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Get release version
id: get-version
run: |
Expand All @@ -386,7 +386,7 @@ jobs:
set -o pipefail
version="${{ steps.get-version.outputs.version }}"
repo="vmware/labs-service-bindings-manager"
repo="ghcr.io/${{ github.repository }}/bundle"
repo_tag="${repo}:${version}"
imgpkg copy --tar service-bindings-bundle.tar --to-repo "${repo}"
Expand Down

0 comments on commit b780f4d

Please sign in to comment.