diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index 9512648b..b6b13e75 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -2,6 +2,11 @@ name: production on: workflow_dispatch: + inputs: + kong_tag: + description: 'Kong Docker Hub Tag' + required: true + default: 'alpine' push: branches: kong-path-allow @@ -63,7 +68,7 @@ jobs: push: true context: ./customize build-args: | - KONG_BASE=kong:alpine + KONG_BASE=kong:${{ inputs.kong_tag }} PLUGINS=kong-path-allow tags: | ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.${{ secrets.AWS_REGION }}.amazonaws.com/${{ secrets.IMAGE_NAME }} diff --git a/.github/workflows/staging.yml b/.github/workflows/staging.yml index db0b68e2..0c3514ce 100644 --- a/.github/workflows/staging.yml +++ b/.github/workflows/staging.yml @@ -2,6 +2,11 @@ name: staging on: workflow_dispatch: + inputs: + kong_tag: + description: 'Kong Docker Hub Tag' + required: true + default: 'alpine' push: branches: kong-path-allow @@ -63,7 +68,7 @@ jobs: push: true context: ./customize build-args: | - KONG_BASE=kong:alpine + KONG_BASE=kong:${{ inputs.kong_tag }} PLUGINS=kong-path-allow tags: | ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.${{ secrets.AWS_REGION }}.amazonaws.com/${{ secrets.IMAGE_NAME }}