From 235becadd85271c03d78ae4e8ee9de7f5020bc6d Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Fri, 13 Jan 2023 15:01:25 +0100 Subject: [PATCH] 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 --- .github/workflows/ci.yml | 8 -------- test/json.Dockerfile | 6 ------ 2 files changed, 14 deletions(-) delete mode 100644 test/json.Dockerfile diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3ab6ce6..cd1b18b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -227,14 +227,6 @@ jobs: 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 "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: runs-on: ubuntu-latest diff --git a/test/json.Dockerfile b/test/json.Dockerfile deleted file mode 100644 index 8eb4e75..0000000 --- a/test/json.Dockerfile +++ /dev/null @@ -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