File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 33
33
fetch-depth : 0
34
34
35
35
- name : Retrieve version
36
- run : echo "GIT_DESCRIBE=$(git describe --tags)" >> $GITHUB_ENV
36
+ id : docker-gen_version
37
+ run : echo "VERSION=$(git describe --tags)" >> "$GITHUB_OUTPUT"
37
38
38
39
- name : Get Docker tags
39
40
id : docker_meta
52
53
type=raw,value=debian,enable=${{ github.ref == 'refs/heads/main' && matrix.base == 'debian' }}
53
54
labels : |
54
55
org.opencontainers.image.authors=Nicolas Duchon <nicolas.duchon@gmail.com> (@buchdag), Jason Wilder
55
- org.opencontainers.image.version=${{ env.GIT_DESCRIBE }}
56
+ org.opencontainers.image.version=${{ steps.docker-gen_version.outputs.VERSION }}
56
57
57
58
- name : Set up QEMU
58
59
uses : docker/setup-qemu-action@v2
78
79
uses : docker/build-push-action@v4
79
80
with :
80
81
context : .
81
- build-args : DOCKER_GEN_VERSION=${{ env.GIT_DESCRIBE }}
82
+ build-args : DOCKER_GEN_VERSION=${{ steps.docker-gen_version.outputs.VERSION }}
82
83
platforms : linux/amd64,linux/arm64,linux/arm/v7
83
84
file : Dockerfile.${{ matrix.base }}
84
85
push : true
You can’t perform that action at this time.
0 commit comments