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: |
|
build-args: |
|
||||||
APP_VERSION=${{ steps.version.outputs.version }}
|
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)
|
if: fromJSON(steps.builder.outputs.run)
|
||||||
uses: actions/push-to-registry@v2
|
uses: actions/push-to-registry@v2
|
||||||
with:
|
with:
|
||||||
|
@ -108,6 +108,14 @@ jobs:
|
||||||
image: treetrail-backend
|
image: treetrail-backend
|
||||||
tags: ${{ steps.version.outputs.version }}
|
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
|
- name: Install uv
|
||||||
uses: astral-sh/setup-uv@v4
|
uses: astral-sh/setup-uv@v4
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue