Skip to content

Commit

Permalink
Update GitHub actions build docker image registry (#596)
Browse files Browse the repository at this point in the history
Change docker registry to ghcr.io
  • Loading branch information
darrylong committed Mar 6, 2024
1 parent f9738c9 commit 4128b4d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/image-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
VERSION=${GITHUB_REF#refs/tags/}
VERSION="${VERSION:1}"
fi
IMAGE="registry.preferred.ai/cornac/cornac-server"
IMAGE="ghcr.io/preferredai/cornac-server"
echo ::set-output name=tagged_image::${IMAGE}:${VERSION},${IMAGE}:latest
shell: bash

Expand All @@ -36,9 +36,9 @@ jobs:
- name: Login to registry
uses: docker/login-action@v3
with:
registry: registry.preferred.ai
username: ${{ secrets.PREFERRED_REGISTRY_USERNAME }}
password: ${{ secrets.PREFERRED_REGISTRY_PASSWORD }}
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v5
Expand Down

0 comments on commit 4128b4d

Please sign in to comment.