This commit is contained in:
parent
a3066be43e
commit
12a4a85510
4 changed files with 33 additions and 26 deletions
|
|
@ -8,6 +8,10 @@ description: Push the `source` image to the `destination` registry
|
|||
# Parameters
|
||||
#=======================================================================
|
||||
inputs:
|
||||
registry:
|
||||
required: true
|
||||
description: The registry to authen
|
||||
|
||||
source:
|
||||
required: true
|
||||
description: The source image to be pushed
|
||||
|
|
@ -25,4 +29,10 @@ runs:
|
|||
- name: Authenticate
|
||||
run: |
|
||||
echo "Authenticate"
|
||||
echo "pushing image '${{ inputs.source }}' to '${{ inputs.destination }}'"
|
||||
echo "pushing image '${{ inputs.source }}' to '${{ inputs.destination }}'"
|
||||
|
||||
echo "${{ forge.token }}" | podman login --username '${{ forge.actor }}' --password-stdin
|
||||
|
||||
- name: Push
|
||||
run: |
|
||||
podman push '${{ inputs.source }}' '${{ inputs.destination }}'
|
||||
Loading…
Add table
Add a link
Reference in a new issue