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
|
image: sms-handler
|
||||||
oci: true
|
oci: true
|
||||||
labels: sms-handler
|
labels: sms-handler
|
||||||
tags: ${{ steps.version.outputs.version }}
|
tags: latest ${{ steps.version.outputs.version }}
|
||||||
containerfiles: |
|
containerfiles: |
|
||||||
./Containerfile
|
./Containerfile
|
||||||
|
|
||||||
- name: Push the image to the registry (version tagged)
|
- name: Push the image to the registry
|
||||||
uses: actions/push-to-registry@v2
|
uses: actions/push-to-registry@v2
|
||||||
with:
|
with:
|
||||||
registry: "docker://${{ vars.REGISTRY }}/${{ vars.ORGANISATION }}"
|
registry: "docker://${{ vars.REGISTRY }}/${{ vars.ORGANISATION }}"
|
||||||
image: sms-handler
|
image: sms-handler
|
||||||
tags: ${{ steps.version.outputs.version }}
|
tags: latest ${{ 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
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[project]
|
[project]
|
||||||
name = "sms_handler"
|
name = "sms_handler"
|
||||||
version = "0.0.12"
|
version = "0.0.13"
|
||||||
#dynamic = ["version"]
|
#dynamic = ["version"]
|
||||||
description = "Listen to messages from the SMS Forwarder app on Android and send mail"
|
description = "Listen to messages from the SMS Forwarder app on Android and send mail"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
|
2
uv.lock
generated
2
uv.lock
generated
|
@ -255,7 +255,7 @@ wheels = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "sms-handler"
|
name = "sms-handler"
|
||||||
version = "0.0.12"
|
version = "0.0.13"
|
||||||
source = { editable = "." }
|
source = { editable = "." }
|
||||||
dependencies = [
|
dependencies = [
|
||||||
{ name = "aiosmtplib" },
|
{ name = "aiosmtplib" },
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue