aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2022-05-31 14:08:21 -0700
committerGravatar MarkKoz <[email protected]>2022-05-31 14:09:17 -0700
commite13329e0311516085aaea3ef6b73953800b5a87d (patch)
treeff433c3dc0a39fc898d927ec0989efa02d174567
parentDocker: install package in image and use version to tag it (diff)
CI: tag all images with version
-rw-r--r--.github/workflows/deploy.yaml8
1 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml
index 977c317..9113188 100644
--- a/.github/workflows/deploy.yaml
+++ b/.github/workflows/deploy.yaml
@@ -81,7 +81,9 @@ jobs:
push: true
cache-from: ghcr.io/python-discord/snekbox-base:latest
cache-to: type=inline
- tags: ghcr.io/python-discord/snekbox-base:latest
+ tags: |
+ ghcr.io/python-discord/snekbox-base:latest
+ ghcr.io/python-discord/snekbox-base:${{ inputs.version }}
# Push the venv image to GHCR, with an inline cache manifest.
- name: Push venv image
@@ -95,4 +97,6 @@ jobs:
ghcr.io/python-discord/snekbox-base:latest
ghcr.io/python-discord/snekbox-venv:latest
cache-to: type=inline
- tags: ghcr.io/python-discord/snekbox-venv:latest
+ tags: |
+ ghcr.io/python-discord/snekbox-venv:latest
+ ghcr.io/python-discord/snekbox-venv:${{ inputs.version }}