diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index fd468c1..9616752 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -37,7 +37,7 @@ jobs: file: Dockerfile tags: | ghcr.io/devsoc-unsw/${{ env.IMAGE_NAME }}:${{ github.sha }} - ghcr.io/devsoc-unsw/${{ env.IMAGGE_NAME }}:latest + ghcr.io/devsoc-unsw/${{ env.IMAGE_NAME }}:latest labels: ${{ steps.meta.outputs.labels }} cache-from: type=gha cache-to: type=gha,mode=max @@ -63,10 +63,10 @@ jobs: git config user.email "technical@csesoc.org.au" git checkout -b update/${{ env.IMAGE_NAME }}/${{ github.sha }} - 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 + 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 git add . git commit -m "feat(${{ env.IMAGE_NAME }}): update image" git push -u origin update/${{ env.IMAGE_NAME }}/${{ github.sha }} - 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 + 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 gh pr merge $(cat URL) --squash -d