Skip to content

Commit e28af34

Browse files
committed
Merge remote-tracking branch 'origin/alicja-xxx-harmonisation_and_expansion_of_gha' into alicja-xxx-harmonisation_and_expansion_of_gha
2 parents b5e1385 + dafb00b commit e28af34

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/xcube_workflow.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
env:
99
APP_NAME: xcube
1010
ORG_NAME: bcdev
11-
REG_NAME: quay.io
11+
IMG_REG_NAME: quay.io
1212

1313
jobs:
1414
unittest:
@@ -67,19 +67,19 @@ jobs:
6767
with:
6868
image: ${{ env.ORG_NAME }}/${{ env.APP_NAME }}
6969
tags: master, latest
70-
registry: ${{ env.REG_NAME }}
71-
username: ${{ secrets.QUAY_REG_USERNAME }}
72-
password: ${{ secrets.QUAY_REG_PASSWORD }}
70+
registry: ${{ env.IMG_REG_NAME }}
71+
username: ${{ secrets.IMG_REG_USERNAME }}
72+
password: ${{ secrets.IMG_REG_PASSWORD }}
7373
# Build and push docker release to quay.io when the event is a 'release'
7474
- uses: mr-smithers-excellent/docker-build-push@v5
7575
name: build-push-docker-image-release
7676
if: ${{ github.event_name == 'release' }}
7777
with:
7878
image: ${{ env.ORG_NAME }}/${{ env.APP_NAME }}
7979
tags: ${{ steps.release.outputs.tag }}
80-
registry: ${{ env.REG_NAME }}
81-
username: ${{ secrets.QUAY_REG_USERNAME }}
82-
password: ${{ secrets.QUAY_REG_PASSWORD }}
80+
registry: ${{ env.IMG_REG_NAME }}
81+
username: ${{ secrets.IMG_REG_USERNAME }}
82+
password: ${{ secrets.IMG_REG_PASSWORD }}
8383
update-version:
8484
runs-on: ubuntu-latest
8585
needs: build-docker-image
@@ -104,7 +104,7 @@ jobs:
104104
- name: get-hash
105105
id: get-hash
106106
run: |
107-
HASH=$(skopeo inspect docker://${{ env.REG_NAME }}/${{ env.ORG_NAME }}/${{ env.APP_NAME }}:${{ steps.release.outputs.tag }} | jq '.Digest')
107+
HASH=$(skopeo inspect docker://${{ env.IMG_REG_NAME }}/${{ env.ORG_NAME }}/${{ env.APP_NAME }}:${{ steps.release.outputs.tag }} | jq '.Digest')
108108
if [[ "$HASH" == *"sha256"* ]]; then
109109
echo ::set-output name=hash::$HASH
110110
else

0 commit comments

Comments
 (0)