CI: publish container with tag latest along with the version
This commit is contained in:
parent
6601a6ced3
commit
ed6c70e1a9
1 changed files with 9 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue