Skip to content

Commit

Permalink
deparametrise image name
Browse files Browse the repository at this point in the history
  • Loading branch information
almereyda committed Oct 16, 2023
1 parent 57c820f commit 0aeeb24
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ on:
required: false
type: string

env:
image_name: distribution

permissions:
contents: read
packages: write
Expand All @@ -23,13 +20,13 @@ jobs:
uses: federated-wiki/workflows/.github/workflows/build-and-push.yml@main
if: ( inputs.ref == 0 )
with:
image-name: ${{ env.image_name }}
image-name: distribution
secrets: inherit
call-build-and-push-ref:
name: Call tagged image build
uses: federated-wiki/workflows/.github/workflows/build-and-push.yml@main
if: ( inputs.ref != 0 )
with:
image-name: ${{ env.image_name }}
image-name: distribution
ref: ${{ inputs.ref }}
secrets: inherit

0 comments on commit 0aeeb24

Please sign in to comment.