We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ab186ec + 7b0ff4d commit 81264e1Copy full SHA for 81264e1
1 file changed
.github/workflows/deployment_gcp.yml
@@ -1,8 +1,14 @@
1
name: Deploy docker image to GCP
2
on:
3
push:
4
- branches:
+ branches:
5
- master
6
+ workflow_dispatch:
7
+ inputs:
8
+ tag:
9
+ description: 'Tag to build and push'
10
+ required: true
11
+ type: string
12
13
permissions:
14
contents: read
@@ -14,8 +20,9 @@ jobs:
20
15
21
docker-release:
16
22
needs:
17
- - generate-version
18
- uses: 0xPolygon/pipelines/.github/workflows/gcp_pipeline_release_image.yaml@main
23
+ - generate-version
24
+ uses: 0xPolygon/pipelines/.github/workflows/gcp_pipeline_release_image.yaml@main
19
25
with:
- image_name: static
- image_tag: ${{ needs.generate-version.outputs.version }}
26
+ image_name: "static"
27
+ image_tag: ${{ inputs.tag || needs.generate-version.outputs.version }}
28
+ checkout_ref: ${{ github.ref_name }}
0 commit comments