[workflows] update: action versions

This commit is contained in:
Robin C. Ladiges
2024-10-13 07:40:52 +02:00
committed by Aubrey
parent 6ec213b4be
commit cbbb1b90c9
2 changed files with 14 additions and 14 deletions

View File

@@ -27,11 +27,11 @@ jobs:
echo "IMAGE=$IMAGE" >>$GITHUB_ENV echo "IMAGE=$IMAGE" >>$GITHUB_ENV
- -
name: Checkout name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v4
- -
id: meta id: meta
name: Docker meta name: Docker meta
uses: docker/metadata-action@v4 uses: docker/metadata-action@v5
with: with:
images: | images: |
ghcr.io/${{ env.IMAGE }} ghcr.io/${{ env.IMAGE }}
@@ -47,22 +47,22 @@ jobs:
org.opencontainers.image.licenses=UNLICENSED org.opencontainers.image.licenses=UNLICENSED
- -
name: Set up QEMU name: Set up QEMU
uses: docker/setup-qemu-action@v2 uses: docker/setup-qemu-action@v3
with: with:
platforms: amd64,arm64,arm platforms: amd64,arm64,arm
- -
name: Set up Docker Buildx name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2 uses: docker/setup-buildx-action@v3
- -
name: Login to GHCR name: Login to GHCR
uses: docker/login-action@v2 uses: docker/login-action@v3
with: with:
registry : ghcr.io registry : ghcr.io
username : ${{ github.repository_owner }} username : ${{ github.repository_owner }}
password : ${{ secrets.GITHUB_TOKEN }} password : ${{ secrets.GITHUB_TOKEN }}
- -
name: Build and push name: Build and push
uses: docker/build-push-action@v3 uses: docker/build-push-action@v6
with: with:
pull : true pull : true
push : true push : true
@@ -79,28 +79,28 @@ jobs:
./docker-build.sh all ./docker-build.sh all
- -
name : Upload Server name : Upload Server
uses : actions/upload-artifact@v3 uses : actions/upload-artifact@v4
with: with:
name : Server name : Server
path : ./bin/Server path : ./bin/Server
if-no-files-found : error if-no-files-found : error
- -
name : Upload Server.arm name : Upload Server.arm
uses : actions/upload-artifact@v3 uses : actions/upload-artifact@v4
with: with:
name : Server.arm name : Server.arm
path : ./bin/Server.arm path : ./bin/Server.arm
if-no-files-found : error if-no-files-found : error
- -
name : Upload Server.arm64 name : Upload Server.arm64
uses : actions/upload-artifact@v3 uses : actions/upload-artifact@v4
with: with:
name : Server.arm64 name : Server.arm64
path : ./bin/Server.arm64 path : ./bin/Server.arm64
if-no-files-found : error if-no-files-found : error
- -
name : Upload Server.exe name : Upload Server.exe
uses : actions/upload-artifact@v3 uses : actions/upload-artifact@v4
with: with:
name : Server.exe name : Server.exe
path : ./bin/Server.exe path : ./bin/Server.exe

View File

@@ -15,18 +15,18 @@ jobs:
steps: steps:
- -
name: Checkout name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v4
- -
name: Set up QEMU name: Set up QEMU
uses: docker/setup-qemu-action@v2 uses: docker/setup-qemu-action@v3
with: with:
platforms: amd64,arm64,arm platforms: amd64,arm64,arm
- -
name: Set up Docker Buildx name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2 uses: docker/setup-buildx-action@v3
- -
name: Build name: Build
uses: docker/build-push-action@v3 uses: docker/build-push-action@v6
with: with:
pull : true pull : true
push : false push : false