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 }}