We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 637a788 commit 630d8bdCopy full SHA for 630d8bd
1 file changed
.github/workflows/reusable-build.yml
@@ -13,8 +13,6 @@ on:
13
env:
14
REGISTRY: ghcr.io
15
IMAGE_REPOSITORY: ${{ github.repository }}
16
- IMAGE_NAME: ${{ inputs.image }}
17
- IMAGE_TAG: ${{ inputs.tag }}
18
19
jobs:
20
build:
@@ -36,7 +34,7 @@ jobs:
36
34
with:
37
35
images: ${{ env.REGISTRY }}/${{ env.IMAGE_REPOSITORY }}/${{ inputs.image }}
38
tags: |
39
- type=raw,value=${{ env.IMAGE_TAG }}
+ type=raw,value=${{ inputs.tag }}
40
- name: Image metadata
41
uses: docker/metadata-action@v5
42
id: meta
@@ -47,5 +45,5 @@ jobs:
47
45
48
46
context: ./src/${{ inputs.image }}
49
push: ${{ github.event_name != 'pull_request' }}
50
- tags: ${{ github.ref_type == 'tag' && steps.tags.outputs.tags }}
+ tags: ${{ steps.tags.outputs.tags }}
51
labels: ${{ steps.meta.outputs.labels }}
0 commit comments