mirror of
https://gitea.com/docker/metadata-action.git
synced 2024-11-25 13:39:33 +01:00
Merge pull request #258 from crazy-max/ci-fix-json-job
ci: update json job
This commit is contained in:
commit
6c3ca5dfa6
2 changed files with 0 additions and 14 deletions
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
@ -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 a new issue