aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2023-03-21 09:56:56 +0000
committerGravatar Chris Lovering <[email protected]>2023-03-21 09:56:56 +0000
commit06a6aecdf65de083a527c307645aca07a250a6ab (patch)
tree0f0eefd8069147db31315f4fd13df4cf963405d8
parentMerge pull request #899 from shtlrs/group-all-workflows (diff)
Use the correct id for the sha-tag input
-rw-r--r--.github/workflows/build-deploy.yaml4
-rw-r--r--.github/workflows/static-preview.yaml4
2 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/build-deploy.yaml b/.github/workflows/build-deploy.yaml
index 5007110d..440cae60 100644
--- a/.github/workflows/build-deploy.yaml
+++ b/.github/workflows/build-deploy.yaml
@@ -47,7 +47,7 @@ jobs:
cache-to: type=inline
tags: |
ghcr.io/python-discord/site:latest
- ghcr.io/python-discord/site:${{ inputs.sha_tag }}
+ ghcr.io/python-discord/site:${{ inputs.sha-tag }}
build-args: |
git_sha=${{ github.sha }}
@@ -79,7 +79,7 @@ jobs:
with:
manifests: |
namespaces/default/site/deployment.yaml
- images: 'ghcr.io/python-discord/site:${{ inputs.sha_tag }}'
+ images: 'ghcr.io/python-discord/site:${{ inputs.sha-tag }}'
- name: Purge Cloudflare Edge Cache
uses: jakejarvis/cloudflare-purge-action@master
diff --git a/.github/workflows/static-preview.yaml b/.github/workflows/static-preview.yaml
index c19ba05c..277a0ffa 100644
--- a/.github/workflows/static-preview.yaml
+++ b/.github/workflows/static-preview.yaml
@@ -38,7 +38,7 @@ jobs:
cache-to: type=inline
tags: |
ghcr.io/python-discord/static-site:latest
- ghcr.io/python-discord/static-site:${{ inputs.sha_tag }}
+ ghcr.io/python-discord/static-site:${{ inputs.sha-tag }}
build-args: |
git_sha=${{ github.sha }}
STATIC_BUILD=TRUE
@@ -48,7 +48,7 @@ jobs:
run: |
mkdir docker_build \
&& docker run --entrypoint /bin/echo --name site \
- ghcr.io/python-discord/static-site:${{ inputs.sha_tag }} \
+ ghcr.io/python-discord/static-site:${{ inputs.sha-tag }} \
&& docker cp site:/app docker_build/
# Build directly to a local folder