Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PTFE-692] Change registry to ghcr #69

Merged
merged 3 commits into from
Jul 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 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,21 @@ 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.actor }}
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 }}"
tags: |
ghcr.io/scality/artifacts:${{ 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
tcarmet marked this conversation as resolved.
Show resolved Hide resolved

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

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