From 93d6762f07d1ae00b534e83ec632690d46ead4ad Mon Sep 17 00:00:00 2001 From: Dima Tisnek Date: Mon, 17 Apr 2023 16:07:02 +0900 Subject: [PATCH] CI debug for https://github.com/docker/metadata-action/issues/283 --- .github/workflows/ci.yaml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..6bf6700 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,39 @@ +--- +"on": + push: + tags: + - "*" + branches: + - main + - release/** + pull_request: + +jobs: + mre: + runs-on: ubuntu-latest + steps: + - id: tag + uses: docker/metadata-action@v4 + with: + images: + quay.io/somerepo/someimage + - run: | + echo "try 2 version:" + cat << EOF + ${{ steps.tag.outputs.version }} + EOF + echo "try 2 tags:" + cat << EOF + ${{ steps.tag.outputs.tags }} + EOF + echo "try 2 labels:" + cat << EOF + ${{ steps.tag.outputs.labels }} + EOF + echo "try 2 json:" + jq . << EOF + ${{ steps.tag.outputs.json }} + EOF + echo + echo "github event" + jq . $GITHUB_EVENT_PATH