wip
This commit is contained in:
@@ -34,13 +34,12 @@ tasks:
|
||||
desc: publish the image
|
||||
internal: true
|
||||
cmds:
|
||||
- podman tag {{.IMAGE}}:{{.TAG}} {{.REGISTRY}}/{{.IMAGE}}:{{.ALT_TAG}}
|
||||
- podman tag {{.IMAGE}}:{{.TAG}} {{.REGISTRY}}/{{.IMAGE}}:{{default .TAG .ALT_TAG}}
|
||||
- echo "${{.REGISTRY_PASS_VAR}}" | podman login {{.REGISTRY}} -u {{.REGISTRY_USER}} --password-stdin
|
||||
- podman manifest push {{.REGISTRY}}/{{.IMAGE}}:{{.ALT_TAG}}
|
||||
- podman manifest push {{.REGISTRY}}/{{.IMAGE}}:{{default .TAG .ALT_TAG}}
|
||||
- podman logout {{.REGISTRY}}
|
||||
vars:
|
||||
REGISTRY_PASS_VAR: GH_PAT
|
||||
REGISTRY: ghcr.io
|
||||
REGISTRY_USER: jswank
|
||||
ALT_TAG: '{{.TAG}}'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user