forked from LiamAEdwards/SS14-Docker-Linux-Server
Add buildx setup for workflow
Some checks failed
Build and publish wylab SS14 server / build-and-push-image (push) Has been cancelled
Some checks failed
Build and publish wylab SS14 server / build-and-push-image (push) Has been cancelled
This commit is contained in:
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user