ci: update json job
The step in the json job is no longer necessary since it is already done by the output-env job. Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
507c2f2dc5
commit
235becadd8
|
@ -227,14 +227,6 @@ jobs:
|
||||||
echo "version=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}"
|
echo "version=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}"
|
||||||
echo "revision=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.revision'] }}"
|
echo "revision=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.revision'] }}"
|
||||||
echo "created=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.created'] }}"
|
echo "created=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.created'] }}"
|
||||||
-
|
|
||||||
name: JSON build arg
|
|
||||||
uses: docker/build-push-action@v3
|
|
||||||
with:
|
|
||||||
context: ./test
|
|
||||||
file: ./test/json.Dockerfile
|
|
||||||
build-args: |
|
|
||||||
BUILDINFO=${{ steps.meta.outputs.json }}
|
|
||||||
|
|
||||||
docker-push:
|
docker-push:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
# syntax=docker/dockerfile:1
|
|
||||||
FROM alpine
|
|
||||||
RUN apk add --no-cache coreutils jq
|
|
||||||
ARG BUILDINFO
|
|
||||||
RUN printenv BUILDINFO
|
|
||||||
RUN echo $BUILDINFO | jq
|
|
Loading…
Reference in New Issue