aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/publish.yml15
1 files changed, 2 insertions, 13 deletions
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index a8ef757..4367c8b 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -11,12 +11,7 @@ on:
jobs:
publish:
name: Publish Docker Image to ghcr.io
- runs-on: ${{ matrix.runner }}
- strategy:
- fail-fast: false
- matrix:
- runner: [ubuntu-24.04, ubuntu-24.04-arm]
-
+ runs-on: ubuntu-latest
permissions:
packages: write
@@ -30,12 +25,6 @@ jobs:
DOCKER_IMAGE_TAG_BASE="ghcr.io/${{ github.repository }}"
DOCKER_IMAGE_TAGS="$DOCKER_IMAGE_TAG_BASE:dev"
- if [[ "${{ matrix.runner }}" == *-arm ]]; then
- echo "DOCKER_PLATFORM=linux/arm64" >> $GITHUB_ENV
- else
- echo "DOCKER_PLATFORM=linux/amd64" >> $GITHUB_ENV
- fi
-
# if this is a versioned release, github.ref will start with 'refs/tags/v'
GH_REF="${{ github.ref }}"
# cut off 'refs/tags/v'
@@ -74,6 +63,6 @@ jobs:
file: ./Dockerfile
push: true
tags: ${{ env.DOCKER_IMAGE_TAGS }}
- platforms: ${{ env.DOCKER_PLATFORM }}
+ platforms: linux/amd64
cache-from: type=gha
cache-to: type=gha,mode=max