Skip to content

Commit b780f4d

Browse files
authored
move to ghcr (#271)
1 parent 2b3a631 commit b780f4d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -356,12 +356,12 @@ jobs:
356356
chmod +x ./crane
357357
sudo mv ./crane /usr/local/bin
358358
cd -
359-
- name: Docker login
360-
run: |
361-
echo "$DOCKERHUB_PASSWORD" | docker login --username $DOCKERHUB_USERNAME --password-stdin
362-
env:
363-
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
364-
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
359+
- name: Login to GitHub Container Registry
360+
uses: docker/login-action@v2
361+
with:
362+
registry: ghcr.io
363+
username: ${{ github.actor }}
364+
password: ${{ secrets.GITHUB_TOKEN }}
365365
- name: Get release version
366366
id: get-version
367367
run: |
@@ -386,7 +386,7 @@ jobs:
386386
set -o pipefail
387387
388388
version="${{ steps.get-version.outputs.version }}"
389-
repo="vmware/labs-service-bindings-manager"
389+
repo="ghcr.io/${{ github.repository }}/bundle"
390390
repo_tag="${repo}:${version}"
391391
392392
imgpkg copy --tar service-bindings-bundle.tar --to-repo "${repo}"

0 commit comments

Comments
 (0)