We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b43976a commit ed9b825Copy full SHA for ed9b825
.github/workflows/build-and-push.yml
@@ -17,6 +17,8 @@ jobs:
17
permissions:
18
contents: read
19
packages: write
20
+ env:
21
+ CONTAINER: ${{ inputs.container }}
22
steps:
23
- name: Set Calver Date
24
run: |
@@ -49,7 +51,7 @@ jobs:
49
51
set -euo pipefail
50
52
53
# Extract labels from the Dockerfile.
- DOCKERFILE=./${{ inputs.container }}/Dockerfile
54
+ DOCKERFILE="./${CONTAINER}/Dockerfile"
55
56
# Function to extract a label value.
57
extract_label() {
@@ -101,7 +103,7 @@ jobs:
101
103
- name: Build and push
102
104
uses: docker/build-push-action@v6
105
with:
- context: ./${{ inputs.container }}
106
+ context: ./${{ env.CONTAINER }}
107
platforms: linux/amd64,linux/arm64
108
push: true
109
tags: |
0 commit comments