Skip to content

Commit

Permalink
allows changing of the kong base tag
Browse files Browse the repository at this point in the history
  • Loading branch information
gabeio committed Feb 21, 2024
1 parent bf3a8d8 commit 7743926
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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 }}
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit 7743926

Please sign in to comment.