action run master-103
This commit is contained in:
@@ -9,6 +9,10 @@ inputs:
|
|||||||
required: false
|
required: false
|
||||||
default: "latest"
|
default: "latest"
|
||||||
|
|
||||||
|
image_remote_tag:
|
||||||
|
required: false
|
||||||
|
default: ""
|
||||||
|
|
||||||
repository_location:
|
repository_location:
|
||||||
required: false
|
required: false
|
||||||
default: "europe-docker.pkg.dev/puzzle-and-play/docker"
|
default: "europe-docker.pkg.dev/puzzle-and-play/docker"
|
||||||
@@ -22,9 +26,10 @@ runs:
|
|||||||
IMAGE_LOCAL_NAME: "${{ inputs.image_name }}"
|
IMAGE_LOCAL_NAME: "${{ inputs.image_name }}"
|
||||||
IMAGE_LOCAL_TAG: "${{ inputs.image_local_tag }}"
|
IMAGE_LOCAL_TAG: "${{ inputs.image_local_tag }}"
|
||||||
IMAGE_REMOTE_NAME: "${{ inputs.repository_location }}/${{ inputs.image_name }}"
|
IMAGE_REMOTE_NAME: "${{ inputs.repository_location }}/${{ inputs.image_name }}"
|
||||||
IMAGE_REMOTE_TAG: "${{ github.ref_name }}-${{ github.run_number }}"
|
IMAGE_REMOTE_TAG: "${{ inputs.image_remote_tag }}"
|
||||||
|
|
||||||
run: |
|
run: |
|
||||||
|
: ${IMAGE_REMOTE_TAG:="${{ github.ref_name }}-${{ github.run_number }}"}
|
||||||
echo "image: $IMAGE_REMOTE_NAME:$IMAGE_REMOTE_TAG"
|
echo "image: $IMAGE_REMOTE_NAME:$IMAGE_REMOTE_TAG"
|
||||||
|
|
||||||
docker tag \
|
docker tag \
|
||||||
|
|||||||
Reference in New Issue
Block a user