aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2022-11-02 14:41:38 +0000
committerNeil Alexander <neilalexander@users.noreply.github.com>2022-11-02 14:41:38 +0000
commitef52731e9f07d684d743b26ee297b6fb64c7d27f (patch)
tree9422471be4a005d0fe3865c92d24a6f0dd1df8d3 /.github
parent9c0725feac61b8586d6bb6911a8dac10a68e8bfd (diff)
Tweak `FLAGS` in GHA Docker builds
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/docker.yml13
1 files changed, 8 insertions, 5 deletions
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
index 24df03c6..b80afedf 100644
--- a/.github/workflows/docker.yml
+++ b/.github/workflows/docker.yml
@@ -59,7 +59,7 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max
context: .
- build-args: FLAGS="-X github.com/matrix-org/dendrite/internal.branch=${{ env.BRANCH }} -X github.com/matrix-org/dendrite/internal.build=${{ env.BUILD }}"
+ build-args: FLAGS=-X github.com/matrix-org/dendrite/internal.branch=${{ env.BRANCH }} -X github.com/matrix-org/dendrite/internal.build=${{ env.BUILD }}
target: monolith
platforms: ${{ env.PLATFORMS }}
push: true
@@ -87,7 +87,7 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max
context: .
- build-args: FLAGS="-X github.com/matrix-org/dendrite/internal.branch=${{ env.BRANCH }} -X github.com/matrix-org/dendrite/internal.build=${{ env.BUILD }}"
+ build-args: FLAGS=-X github.com/matrix-org/dendrite/internal.branch=${{ env.BRANCH }} -X github.com/matrix-org/dendrite/internal.build=${{ env.BUILD }}
target: monolith
platforms: ${{ env.PLATFORMS }}
push: true
@@ -138,7 +138,7 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max
context: .
- build-args: FLAGS="-X github.com/matrix-org/dendrite/internal.branch=${{ env.BRANCH }} -X github.com/matrix-org/dendrite/internal.build=${{ env.BUILD }}"
+ build-args: FLAGS=-X github.com/matrix-org/dendrite/internal.branch=${{ env.BRANCH }} -X github.com/matrix-org/dendrite/internal.build=${{ env.BUILD }}
target: polylith
platforms: ${{ env.PLATFORMS }}
push: true
@@ -166,6 +166,7 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max
context: .
+ build-args: FLAGS=-X github.com/matrix-org/dendrite/internal.branch=${{ env.BRANCH }} -X github.com/matrix-org/dendrite/internal.build=${{ env.BUILD }}
target: polylith
platforms: ${{ env.PLATFORMS }}
push: true
@@ -216,6 +217,7 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max
context: .
+ build-args: FLAGS=-X github.com/matrix-org/dendrite/internal.branch=${{ env.BRANCH }} -X github.com/matrix-org/dendrite/internal.build=${{ env.BUILD }}
target: demo-pinecone
platforms: ${{ env.PLATFORMS }}
push: true
@@ -231,7 +233,7 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max
context: .
- build-args: FLAGS="-X github.com/matrix-org/dendrite/internal.branch=${{ env.BRANCH }} -X github.com/matrix-org/dendrite/internal.build=${{ env.BUILD }}"
+ build-args: FLAGS=-X github.com/matrix-org/dendrite/internal.branch=${{ env.BRANCH }} -X github.com/matrix-org/dendrite/internal.build=${{ env.BUILD }}
target: demo-pinecone
platforms: ${{ env.PLATFORMS }}
push: true
@@ -282,6 +284,7 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max
context: .
+ build-args: FLAGS=-X github.com/matrix-org/dendrite/internal.branch=${{ env.BRANCH }} -X github.com/matrix-org/dendrite/internal.build=${{ env.BUILD }}
target: demo-yggdrasil
platforms: ${{ env.PLATFORMS }}
push: true
@@ -297,7 +300,7 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max
context: .
- build-args: FLAGS="-X github.com/matrix-org/dendrite/internal.branch=${{ env.BRANCH }} -X github.com/matrix-org/dendrite/internal.build=${{ env.BUILD }}"
+ build-args: FLAGS=-X github.com/matrix-org/dendrite/internal.branch=${{ env.BRANCH }} -X github.com/matrix-org/dendrite/internal.build=${{ env.BUILD }}
target: demo-yggdrasil
platforms: ${{ env.PLATFORMS }}
push: true