From 8378d5789535c428deb93443d69827eb0335a8d2 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 6c3121dfb..6ffe3bbee 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: