Skip to content

Commit ff2b089

Browse files
committed
Use tag instead of hardcoded one
1 parent 4389fb3 commit ff2b089

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/python-builder.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
inputs:
88
docker-tag:
99
description: 'Docker tag for push (e.g. 2.0.0)'
10+
default: 'latest'
1011
required: true
1112

1213
env:
@@ -34,5 +35,5 @@ jobs:
3435
- name: Build and push
3536
working-directory: ./python-builder/
3637
run: |
37-
make DOCKER_IMAGE_VERSION=0.9 build_docker_image
38-
make DOCKER_IMAGE_VERSION=0.9 push_to_registry
38+
make DOCKER_IMAGE_VERSION="${{ github.event.inputs.docker-tag }}" build_docker_image
39+
make DOCKER_IMAGE_VERSION="${{ github.event.inputs.docker-tag }}" push_to_registry

0 commit comments

Comments
 (0)