Skip to content

Commit

Permalink
Migrate to ghcr
Browse files Browse the repository at this point in the history
Issue: UTAPI-99
  • Loading branch information
francoisferrand committed Apr 17, 2024
1 parent 87cba51 commit 9e1f14e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,21 @@ jobs:
- name: Login to Registry
uses: docker/login-action@v1
with:
registry: registry.scality.com
username: ${{ secrets.REGISTRY_LOGIN }}
password: ${{ secrets.REGISTRY_PASSWORD }}
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ github.token }}

- name: Build and push utapi image
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: "registry.scality.com/utapi/utapi:${{ github.event.inputs.tag }}"
tags: ghcr.io/${{ github.repository }}:${{ github.event.inputs.tag }}"

- name: Create Release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ github.token }}
with:
name: Release ${{ github.event.inputs.tag }}
tag_name: ${{ github.event.inputs.tag }}
Expand Down

0 comments on commit 9e1f14e

Please sign in to comment.