Skip to content

Commit

Permalink
[PTFE-692] Change registry to ghcr
Browse files Browse the repository at this point in the history
  • Loading branch information
gaspardmoindrot committed Jul 27, 2023
1 parent 04596d5 commit 7ba05de
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
description: "Is the release a GA?"
required: false
default: false
type: boolean

jobs:
release:
Expand All @@ -24,20 +25,23 @@ jobs:
- name: Set up Docker Buildk
uses: docker/setup-buildx-action@v1

- name: Login to Registry
- name: Login to ghcr
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: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile
push: true
tags: "registry.scality.com/artifacts/artifacts:${{ github.event.inputs.tag }}"
build-args: |
VERSION=${{ github.event.inputs.tag }}
tags: |
ghcr.io/scality/bert-e:${{ inputs.tag }}
- name: Create Release
uses: softprops/action-gh-release@v1
Expand Down
4 changes: 2 additions & 2 deletions charts/artifacts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ cloudStorage:
image:
## regitry to pull from.
##
registry: registry.scality.com
registry: ghcr.io

## repository on the registry to pull from.
##
repository: artifacts/artifacts
repository: scality/artifacts

## tag specifies the version to deploy.
##
Expand Down

0 comments on commit 7ba05de

Please sign in to comment.