CI: build container with version and latest tags
All checks were successful
/ test (push) Successful in 11s
All checks were successful
/ test (push) Successful in 11s
This commit is contained in:
parent
60db797051
commit
d159254fdf
3 changed files with 5 additions and 12 deletions
|
@ -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 }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue