Skip to content

Commit

Permalink
Update docker-hub-platform.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
viferga authored Dec 17, 2024
1 parent fc2da26 commit 371dda8
Showing 1 changed file with 25 additions and 13 deletions.
38 changes: 25 additions & 13 deletions .github/workflows/docker-hub-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,19 @@ jobs:
name: Build
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
platform: [linux/amd64, linux/arm64, linux/riscv64, linux/ppc64le, linux/s390x, linux/386, linux/arm/v7, linux/arm/v6]
platform:
- linux/amd64
- linux/arm64
- linux/riscv64
- linux/ppc64le
- linux/s390x
- linux/386
- linux/arm/v7
- linux/arm/v6
# - linux/mips64le
# - linux/mips64

steps:
- name: Checkout Repository
Expand Down Expand Up @@ -68,10 +79,6 @@ jobs:
name: Create and Push Manifest Lists
needs: build
runs-on: ubuntu-latest
strategy:
matrix:
platform: [linux-amd64, linux-arm64, linux-riscv64, linux-ppc64le, linux-s390x, linux-386, linux-arm-v7, linux-arm-v6]

steps:
- name: Login to Docker Hub
uses: docker/login-action@v3
Expand Down Expand Up @@ -120,8 +127,19 @@ jobs:
needs: manifest
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
platform: [linux/amd64, linux/arm64, linux/riscv64, linux/ppc64le, linux/s390x, linux/386, linux/arm/v7, linux/arm/v6]
platform:
- linux/amd64
- linux/arm64
- linux/riscv64
- linux/ppc64le
- linux/s390x
- linux/386
- linux/arm/v7
- linux/arm/v6
# - linux/mips64le
# - linux/mips64

steps:
- name: Login to Docker Hub
Expand All @@ -147,14 +165,8 @@ jobs:
cleanup:
name: Cleanup Platform Specific Tags
needs:
- build
- manifest
- test
needs: [build, manifest, test]
runs-on: ubuntu-latest
strategy:
matrix:
platform: [linux-amd64, linux-arm64, linux-riscv64, linux-ppc64le, linux-s390x, linux-386, linux-arm-v7, linux-arm-v6]
if: always()
steps:
- name: Remove Platform-Specific Tags
Expand Down

0 comments on commit 371dda8

Please sign in to comment.