refac
Some checks failed
Build Docker Image / build (linux/amd64, map[file:Dockerfile.slim name:slim short_tag:slim suffix:-slim]) (push) Failing after 44s
Build Docker Image / build (linux/amd64, map[file:Dockerfile name:default short_tag:latest suffix:]) (push) Failing after 1m54s
Build Docker Image / build (linux/arm64, map[file:Dockerfile name:default short_tag:latest suffix:]) (push) Failing after 46s
Build Docker Image / build (linux/arm64, map[file:Dockerfile.alpine name:alpine short_tag:alpine suffix:-alpine]) (push) Failing after 56s
Build Docker Image / build (linux/arm64, map[file:Dockerfile.slim name:slim short_tag:slim suffix:-slim]) (push) Failing after 54s
Build Docker Image / merge (map[name:slim short_tag:slim suffix:-slim]) (push) Has been skipped
Build Docker Image / build (linux/amd64, map[file:Dockerfile.alpine name:alpine short_tag:alpine suffix:-alpine]) (push) Failing after 50s
Build Docker Image / merge (map[name:alpine short_tag:alpine suffix:-alpine]) (push) Has been skipped
Build Docker Image / merge (map[name:default short_tag:latest suffix:]) (push) Has been skipped

This commit is contained in:
Timothy Jaeryang Baek 2026-03-18 18:59:32 -05:00
parent 4ae1b1cabd
commit 7fa6b90ce9

View file

@ -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 }}