From c2905fbd8c64c1b80f9b65aa4e83627779a244d4 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Thu, 21 Apr 2022 01:05:31 +0200 Subject: [PATCH] ci: add global expressions job Signed-off-by: CrazyMax --- .github/workflows/ci.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6c3121d..6ffe3bb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -165,6 +165,27 @@ jobs: org.opencontainers.image.description=this is a "good" example org.opencontainers.image.vendor=MyCompany + global-exps: + runs-on: ubuntu-latest + steps: + - + name: Checkout + uses: actions/checkout@v3 + - + name: Docker meta + uses: ./ + with: + images: | + ${{ env.DOCKER_IMAGE }} + ghcr.io/name/app + tags: | + type=sha + type=raw,value=gexp-branch-{{branch}} + type=raw,value=gexp-date-{{date 'YYYYMMDD'}} + type=raw,value=gexp-tag-{{tag}} + type=raw,value=gexp-baseref-{{base_ref}} + type=raw,value=gexp-defbranch,enable={{is_default_branch}} + json: runs-on: ubuntu-latest steps: