Skip to content

Commit

Permalink
Fixes typo in setting the outputs.
Browse files Browse the repository at this point in the history
  • Loading branch information
gwynforthewyn committed Jun 2, 2024
1 parent df3c592 commit e9dd034
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish_website_docker_image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
DOCKERIMAGE: docker.io/playtechnique/website:${{ github.run_number }}
runs-on: ubuntu-latest
outputs:
dockerimage: ${{ steps.set-docker-iamge.outputs.dockerimage }}
dockerimage: ${{ steps.set-docker-image.outputs.dockerimage }}

steps:
- name: Log in to DockerHub
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/release_website.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: validate input
run: |
if [ -z "${{ inputs.docker-image }}" ]; then
echo "Input was ${{ inputs.docker-image }}. Bailing".
exit 1
fi
- name: edit file
run: |
yq e '.spec.template.spec.containers[0].image = "${{ inputs.docker-image }}"' -i website-deployment/k8s-manifests/overlays/production/deployment-container-version-patch.yaml
Expand Down

0 comments on commit e9dd034

Please sign in to comment.