Add 'slim' container (#231)

This commit is contained in:
Joel Challis
2026-06-29 04:06:02 +01:00
committed by GitHub
parent af2ef5d90f
commit 5e57fdefe0
4 changed files with 45 additions and 5 deletions
+16 -2
View File
@@ -24,7 +24,7 @@ jobs:
with:
fetch-depth: 0
- name: 'Get Previous tag'
- name: Get Previous tag
id: previoustag
uses: "WyriHaximus/github-action-get-previous-tag@v2"
@@ -45,11 +45,25 @@ jobs:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Build and Push to Docker Hub
- name: Build and Push slim to Docker Hub
uses: docker/build-push-action@v7
with:
context: .
push: true
target: slim
platforms: linux/amd64,linux/arm64
tags: |
ghcr.io/qmk/qmk_cli:slim
qmkfm/qmk_cli:slim
ghcr.io/qmk/qmk_cli:${{ steps.previoustag.outputs.tag }}-slim
qmkfm/qmk_cli:${{ steps.previoustag.outputs.tag }}-slim
- name: Build and Push full to Docker Hub
uses: docker/build-push-action@v7
with:
context: .
push: true
target: full
platforms: linux/amd64,linux/arm64
tags: |
ghcr.io/qmk/qmk_cli:latest