Skip to content

Commit

Permalink
Merge branch 'bugfix/pull-image-from-ghcr.io' into q/2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
bert-e committed Apr 5, 2024
2 parents 4c1d8d8 + 22afc6a commit e7562b2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ env:
PROD_NAMESPACE: "scality/zenko-ui"
REGISTRY: "ghcr.io"
CONFIG_IMAGE: "zenko-ui-config"
UI_IMAGE: "zenko-ui"

jobs:
retag-docker-image:
Expand Down Expand Up @@ -46,6 +45,6 @@ jobs:
nginx.conf.gotempl:text/nginx-conf-template
- name: Retag the docker image
run: |
docker pull ${REGISTRY}/${DEV_NAMESPACE}/${UI_IMAGE}:$GITHUB_SHA
docker tag ${REGISTRY}/${DEV_NAMESPACE}/${UI_IMAGE}:$GITHUB_SHA ${REGISTRY}/${PROD_NAMESPACE}/${UI_IMAGE}:$GITHUB_REF_NAME
docker push ${REGISTRY}/${PROD_NAMESPACE}/${UI_IMAGE}:$GITHUB_REF_NAME
docker pull ${REGISTRY}/${DEV_NAMESPACE}:$GITHUB_SHA
docker tag ${REGISTRY}/${DEV_NAMESPACE}:$GITHUB_SHA ${REGISTRY}/${PROD_NAMESPACE}:$GITHUB_REF_NAME
docker push ${REGISTRY}/${PROD_NAMESPACE}:$GITHUB_REF_NAME

0 comments on commit e7562b2

Please sign in to comment.