From 7fa6b90ce949ef993053d9c6ab7a6190e28822c4 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Wed, 18 Mar 2026 18:59:32 -0500 Subject: [PATCH] refac --- .github/workflows/docker.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 61948db..2a4732d 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -23,12 +23,15 @@ jobs: - name: default file: Dockerfile suffix: "" + short_tag: "latest" - name: slim file: Dockerfile.slim suffix: "-slim" + short_tag: "slim" - name: alpine file: Dockerfile.alpine suffix: "-alpine" + short_tag: "alpine" permissions: contents: read packages: write @@ -87,10 +90,13 @@ jobs: variant: - name: default suffix: "" + short_tag: "latest" - name: slim suffix: "-slim" + short_tag: "slim" - name: alpine suffix: "-alpine" + short_tag: "alpine" permissions: contents: read packages: write @@ -138,6 +144,7 @@ jobs: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} tags: | type=raw,value=latest${{ matrix.variant.suffix }},enable={{is_default_branch}} + type=raw,value=${{ matrix.variant.short_tag }},enable={{is_default_branch}} type=raw,value=${{ steps.version.outputs.version }}${{ matrix.variant.suffix }},enable=${{ steps.version.outputs.is_new_version }} type=raw,value=${{ steps.version.outputs.major_minor }}${{ matrix.variant.suffix }},enable=${{ steps.version.outputs.is_new_version }} type=sha,suffix=${{ matrix.variant.suffix }}