diff --git a/.github/workflows/pull-requests.yaml b/.github/workflows/pull-requests.yaml index 262748d8..babe285f 100644 --- a/.github/workflows/pull-requests.yaml +++ b/.github/workflows/pull-requests.yaml @@ -1,5 +1,7 @@ name: Pull Request +env: + REGISTRY: ${{ secrets.OCIR_REPO }} on: pull_request: types: [opened, synchronize, reopened] @@ -33,9 +35,9 @@ jobs: - name: Login to GitHub Container Registry uses: docker/login-action@v3 with: - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} - registry: ghcr.io + username: ${{ secrets.OCIR_USER}} + password: ${{ secrets.OCIR_TOKEN }} + registry: iad.ocir.io env: DOCKER_CONFIG: ${{ runner.temp }}/.docker diff --git a/scripts/common-envs.mk b/scripts/common-envs.mk index 98f4652a..bdff841b 100644 --- a/scripts/common-envs.mk +++ b/scripts/common-envs.mk @@ -1,4 +1,4 @@ -REGISTRY := ghcr.io/cozystack/cozystack +REGISTRY ?= ghcr.io/cozystack/cozystack PUSH := 1 LOAD := 0 COZYSTACK_VERSION = $(patsubst v%,%,$(shell git describe --tags))