From cc8b3beb408f4d3b46f7ce9f4fa9d78daabefc85 Mon Sep 17 00:00:00 2001 From: Nicolas Humbert Date: Mon, 30 Dec 2024 10:58:38 +0100 Subject: [PATCH] BB-644 Update backbeat hotfix/7.10.17 registry to ghcr.io --- .github/workflows/release-federation.yaml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release-federation.yaml b/.github/workflows/release-federation.yaml index 8197b17c6..2bc6f3edc 100644 --- a/.github/workflows/release-federation.yaml +++ b/.github/workflows/release-federation.yaml @@ -10,12 +10,14 @@ on: jobs: build-federation-image: - uses: scality/workflows/.github/workflows/docker-build.yaml@v1 - secrets: inherit + uses: scality/workflows/.github/workflows/docker-build.yaml@v2 + secrets: + REGISTRY_LOGIN: ${{ github.repository_owner }} + REGISTRY_PASSWORD: ${{ github.token }} with: push: true - registry: registry.scality.com - namespace: ${{ github.event.repository.name }} + registry: ghcr.io + namespace: scality name: ${{ github.event.repository.name }} context: . file: images/nodesvc-base/Dockerfile @@ -25,9 +27,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Create Release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ github.token }} with: name: Release ${{ github.event.inputs.tag }} tag_name: ${{ github.event.inputs.tag }}