Add support for tags
This commit is contained in:
parent
335e580bc3
commit
8eba3fe655
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
when:
|
when:
|
||||||
branch: main
|
branch: main
|
||||||
event: [push, pull_request]
|
event: [push, pull_request, tag]
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
- &repo source.hodakov.me/${CI_REPO_OWNER}/docker-phpbb
|
- &repo source.hodakov.me/${CI_REPO_OWNER}/docker-phpbb
|
||||||
@ -15,7 +15,7 @@ steps:
|
|||||||
platforms: linux/arm64/v8,linux/amd64
|
platforms: linux/arm64/v8,linux/amd64
|
||||||
dry_run: true
|
dry_run: true
|
||||||
repo: *repo
|
repo: *repo
|
||||||
tags: latest
|
auto_tag: true
|
||||||
when:
|
when:
|
||||||
event: pull_request
|
event: pull_request
|
||||||
|
|
||||||
@ -27,9 +27,9 @@ steps:
|
|||||||
platforms: linux/arm64/v8,linux/amd64
|
platforms: linux/arm64/v8,linux/amd64
|
||||||
repo: *repo
|
repo: *repo
|
||||||
registry: source.hodakov.me
|
registry: source.hodakov.me
|
||||||
tags: latest
|
auto_tag: true
|
||||||
username: ${CI_REPO_OWNER}
|
username: ${CI_REPO_OWNER}
|
||||||
password:
|
password:
|
||||||
from_secret: registry_token
|
from_secret: registry_token
|
||||||
when:
|
when:
|
||||||
event: push
|
event: [push, tag]
|
||||||
|
Loading…
Reference in New Issue
Block a user