Skip to content

Commit 8934fec

Browse files
authored
Merge pull request #12 from devsoc-unsw/master
merge: sync staging with master
2 parents e6ed008 + a938f50 commit 8934fec

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/docker.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
file: Dockerfile
3838
tags: |
3939
ghcr.io/devsoc-unsw/${{ env.IMAGE_NAME }}:${{ github.sha }}
40-
ghcr.io/devsoc-unsw/${{ env.IMAGGE_NAME }}:latest
40+
ghcr.io/devsoc-unsw/${{ env.IMAGE_NAME }}:latest
4141
labels: ${{ steps.meta.outputs.labels }}
4242
cache-from: type=gha
4343
cache-to: type=gha,mode=max
@@ -63,10 +63,10 @@ jobs:
6363
git config user.email "technical@csesoc.org.au"
6464
6565
git checkout -b update/${{ env.IMAGE_NAME }}/${{ github.sha }}
66-
yq -i '.items[0].spec.template.spec.containers[0].image = "ghcr.io/devsoc-unsw/${{ env.IMAGE_NAME}:${{ github.sha }}"' projects/hasuragres/${{ env.ENVIRONMENT }}/hasuragres.yml
66+
yq -i '.items[0].spec.template.spec.containers[0].image = "ghcr.io/devsoc-unsw/${{ env.IMAGE_NAME }}:${{ github.sha }}"' projects/hasuragres/${{ env.ENVIRONMENT }}/hasuragres.yml
6767
6868
git add .
6969
git commit -m "feat(${{ env.IMAGE_NAME }}): update image"
7070
git push -u origin update/${{ env.IMAGE_NAME }}/${{ github.sha }}
71-
gh pr create -B dev --title "feat(${{ env.IMAGE_NAME}}): update image" --body "Updates the image for the ${{ env.IMAGE_NAME }} deployment to commit devsoc-unsw/${{ env.IMAGE_NAME }}@${{ github.sha }}." > URL
71+
gh pr create -B dev --title "feat(${{ env.IMAGE_NAME }}): update image" --body "Updates the image for the ${{ env.IMAGE_NAME }} deployment to commit devsoc-unsw/${{ env.IMAGE_NAME }}@${{ github.sha }}." > URL
7272
gh pr merge $(cat URL) --squash -d

0 commit comments

Comments
 (0)