mirror of
https://github.com/Laborratte5/linux-iso-seeder.git
synced 2025-12-31 01:18:16 +01:00
cicd: tag docker image with current git hash and date
This commit is contained in:
parent
ce19fdb728
commit
40b6706058
1 changed files with 1 additions and 1 deletions
|
|
@ -15,5 +15,5 @@ jobs:
|
||||||
- uses: https://code.forgejo.org/actions/checkout@v4
|
- uses: https://code.forgejo.org/actions/checkout@v4
|
||||||
- run: docker build -t linux-iso-seeder:latest .
|
- run: docker build -t linux-iso-seeder:latest .
|
||||||
- run: docker tag linux-iso-seeder:latest git.ratte.dev/laborratte5/linux-iso-seeder:latest
|
- run: docker tag linux-iso-seeder:latest git.ratte.dev/laborratte5/linux-iso-seeder:latest
|
||||||
- run: echo $(git rev-parse --short HEAD)-$(date --utc --iso-8601)
|
- run: docker tag linux-iso-seeder:latest git.ratte.dev/laborratte5/linux-iso-seeder:$(git rev-parse --short HEAD)-$(date --utc --iso-8601)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue