Skip to content
Snippets Groups Projects
Unverified Commit 4128b4d1 authored by darrylong's avatar darrylong Committed by GitHub
Browse files

Update GitHub actions build docker image registry (#596)

Change docker registry to ghcr.io
parent f9738c90
No related branches found
No related tags found
No related merge requests found
...@@ -22,7 +22,7 @@ jobs: ...@@ -22,7 +22,7 @@ jobs:
VERSION=${GITHUB_REF#refs/tags/} VERSION=${GITHUB_REF#refs/tags/}
VERSION="${VERSION:1}" VERSION="${VERSION:1}"
fi fi
IMAGE="registry.preferred.ai/cornac/cornac-server" IMAGE="ghcr.io/preferredai/cornac-server"
echo ::set-output name=tagged_image::${IMAGE}:${VERSION},${IMAGE}:latest echo ::set-output name=tagged_image::${IMAGE}:${VERSION},${IMAGE}:latest
shell: bash shell: bash
...@@ -36,9 +36,9 @@ jobs: ...@@ -36,9 +36,9 @@ jobs:
- name: Login to registry - name: Login to registry
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: registry.preferred.ai registry: ghcr.io
username: ${{ secrets.PREFERRED_REGISTRY_USERNAME }} username: ${{ github.actor }}
password: ${{ secrets.PREFERRED_REGISTRY_PASSWORD }} password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push - name: Build and push
uses: docker/build-push-action@v5 uses: docker/build-push-action@v5
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment