diff --git a/.github/workflows/release-relayer.yml b/.github/workflows/release-relayer.yml index 2e5910de4c..0fae3ff1ea 100644 --- a/.github/workflows/release-relayer.yml +++ b/.github/workflows/release-relayer.yml @@ -126,7 +126,7 @@ jobs: uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} - username: ${{ github.actor }} + username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push Docker image @@ -134,4 +134,4 @@ jobs: with: context: ./relayer push: true - tags: ${{ steps.create_tag.outputs.tag }} + tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.create_tag.outputs.tag }} diff --git a/relayer/start-relayer-in-docker.sh b/relayer/start-relayer-in-docker.sh index f6558cbcf0..a2904511dc 100755 --- a/relayer/start-relayer-in-docker.sh +++ b/relayer/start-relayer-in-docker.sh @@ -15,7 +15,7 @@ stop_relayer() build_image() { - docker build -f Dockerfile -t snowbridge-relayer . + docker build -f Dockerfile -t ghcr.io/snowfork/snowbridge-relay . } if [ -z "${from_start_services:-}" ]; then