From 66e0ff5cf1e9e6fdd28caca6408dfadaff583fac Mon Sep 17 00:00:00 2001 From: neingeist Date: Sun, 29 Jan 2023 15:18:38 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20.github:=20set=20metadata?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-image.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/build-image.yml b/.github/workflows/build-image.yml index 8b0c1dc..4ba7fc8 100644 --- a/.github/workflows/build-image.yml +++ b/.github/workflows/build-image.yml @@ -14,6 +14,16 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Docker meta + id: meta + uses: docker/metadata-action@v4 + with: + images: ghcr.io/neingeist/docker-mod-terminfos + tags: | + type=ref,event=branch + # set latest tag for default branch + type=raw,value=latest,enable={{is_default_branch}} + - name: Build image run: | docker build --no-cache -t ${{ github.sha }} .