Add buildx setup for workflow
Some checks failed
Build and publish wylab SS14 server / build-and-push-image (push) Has been cancelled

This commit is contained in:
Codex Agent
2025-12-14 17:20:26 +01:00
parent 54fe07621e
commit b74fc4298d

View File

@@ -14,6 +14,7 @@ env:
REGISTRY: git.wylab.me
IMAGE_NAME: wylab/ws14-docker-linux-server
TARGET_PLATFORM: linux-x64
DOCKER_PLATFORM: linux/amd64
WYLAB_SOURCE_REPO: https://git.wylab.me/wylab/wylab-station-14.git
WYLAB_SOURCE_REF: master
@@ -27,6 +28,14 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: ${{ env.DOCKER_PLATFORM }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Resolve wylab commit
id: wylab
env:
@@ -57,6 +66,7 @@ jobs:
with:
context: .
push: true
platforms: ${{ env.DOCKER_PLATFORM }}
tags: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}