Skip to content

Commit

Permalink
fix: Use latest version of generated CI pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgubler committed Nov 17, 2023
1 parent e33cdc1 commit b98dc22
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/actions/build/action.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
env:
KUBECONFIG: /tmp/github-ci.kubeconfig
inputs:
IMGNAME:
required: true
REGISTRY:
required: true
TARGET:
required: false
name: Build
runs:
steps:
Expand All @@ -13,5 +17,6 @@ runs:
with:
provenance: false
push: true
tags: "${{ inputs.REGISTRY }}/${{ env.NAMESPACE }}/${{ env.CI_PROJECT_NAME }}:${{ env.CI_COMMIT_REF_SLUG }}"
tags: "${{ inputs.REGISTRY }}/${{ env.NAMESPACE }}/${{ input.IMGNAME }}:${{ env.CI_COMMIT_REF_SLUG }}"
target: "${{ inputs.TARGET }}"
using: composite
1 change: 1 addition & 0 deletions .github/workflows/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
KUBECONFIG_DATA: "${{ secrets.KUBECONFIG_PROD }}"
- uses: ./.github/actions/build
with:
IMGNAME: "${{ env.CI_PROJECT_NAME }}"
REGISTRY: "${{ env.REGISTRY }}"
- env:
NEWLINE: |2+
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
KUBECONFIG_DATA: "${{ secrets.KUBECONFIG_TEST }}"
- uses: ./.github/actions/build
with:
IMGNAME: "${{ env.CI_PROJECT_NAME }}"
REGISTRY: "${{ env.REGISTRY }}"
- env:
NEWLINE: |2+
Expand Down

0 comments on commit b98dc22

Please sign in to comment.