Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
manu committed Jun 7, 2024
2 parents 458aa69 + 5938bc8 commit 9ec3cf5
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@ env:
jobs:
build-and-publish-server:
runs-on: ubuntu-latest
strategy:
matrix:
platform:
- linux/arm64/v8
- linux/amd64
permissions:
contents: read
packages: write
Expand Down Expand Up @@ -83,12 +78,13 @@ jobs:
build-args: |
NODE_ENV: production
target: production
platforms: ${{ matrix.platform }}
provenance: false
platforms: linux/amd64,linux/arm64,linux/arm64/v8
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
cache-from: type=gha,scope=buildkit
cache-to: type=gha,mode=max,scope=buildkit

# Sign the resulting Docker image digest except on PRs.
# This will only write to the public Rekor transparency log when the Docker
Expand All @@ -107,11 +103,6 @@ jobs:

build-and-publish-client:
runs-on: ubuntu-latest
strategy:
matrix:
platform:
- linux/arm64/v8
- linux/amd64
permissions:
contents: read
packages: write
Expand Down Expand Up @@ -168,12 +159,13 @@ jobs:
build-contexts: |
shared-lib=./shared-lib
target: production
platforms: ${{ matrix.platform }}
provenance: false
platforms: linux/amd64,linux/arm64,linux/arm64/v8
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
cache-from: type=gha,scope=buildkit
cache-to: type=gha,mode=max,scope=buildkit

# Sign the resulting Docker image digest except on PRs.
# This will only write to the public Rekor transparency log when the Docker
Expand Down

0 comments on commit 9ec3cf5

Please sign in to comment.