CI: build container with version and latest tags
All checks were successful
/ test (push) Successful in 11s

This commit is contained in:
phil 2024-12-06 20:19:36 +01:00
parent 60db797051
commit d159254fdf
3 changed files with 5 additions and 12 deletions

View file

@ -58,20 +58,13 @@ jobs:
image: sms-handler
oci: true
labels: sms-handler
tags: ${{ steps.version.outputs.version }}
tags: latest ${{ steps.version.outputs.version }}
containerfiles: |
./Containerfile
- name: Push the image to the registry (version tagged)
- name: Push the image to the registry
uses: actions/push-to-registry@v2
with:
registry: "docker://${{ vars.REGISTRY }}/${{ vars.ORGANISATION }}"
image: sms-handler
tags: ${{ steps.version.outputs.version }}
- name: Push the image to the registry (latest tag)
uses: actions/push-to-registry@v2
with:
registry: "docker://${{ vars.REGISTRY }}/${{ vars.ORGANISATION }}"
image: sms-handler
tags: latest
tags: latest ${{ steps.version.outputs.version }}