CI: publish container with tag latest along with the version
Some checks failed
/ test (push) Successful in 24s
/ build (push) Failing after 5s

This commit is contained in:
phil 2024-12-06 20:07:13 +01:00
parent 6601a6ced3
commit ed6c70e1a9

View file

@ -100,7 +100,7 @@ jobs:
build-args: |
APP_VERSION=${{ steps.version.outputs.version }}
- name: Push the image to the registry
- name: Push the image to the registry (version tag)
if: fromJSON(steps.builder.outputs.run)
uses: actions/push-to-registry@v2
with:
@ -108,6 +108,14 @@ jobs:
image: treetrail-backend
tags: ${{ steps.version.outputs.version }}
- name: Push the image to the registry (latest tag)
if: fromJSON(steps.builder.outputs.run)
uses: actions/push-to-registry@v2
with:
registry: "docker://${{ vars.REGISTRY }}/${{ vars.ORGANISATION }}"
image: treetrail-backend
tags: latest
- name: Install uv
uses: astral-sh/setup-uv@v4
with: