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 3333 fetch-depth : 0
3434
3535 - 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"
3738
3839 - name : Get Docker tags
3940 id : docker_meta
5253 type=raw,value=debian,enable=${{ github.ref == 'refs/heads/main' && matrix.base == 'debian' }}
5354 labels : |
5455 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 }}
5657
5758 - name : Set up QEMU
5859 uses : docker/setup-qemu-action@v2
7879 uses : docker/build-push-action@v4
7980 with :
8081 context : .
81- build-args : DOCKER_GEN_VERSION=${{ env.GIT_DESCRIBE }}
82+ build-args : DOCKER_GEN_VERSION=${{ steps.docker-gen_version.outputs.VERSION }}
8283 platforms : linux/amd64,linux/arm64,linux/arm/v7
8384 file : Dockerfile.${{ matrix.base }}
8485 push : true
You can’t perform that action at this time.
0 commit comments