Skip to content

Commit d5a6171

Browse files
authored
Merge pull request #118 from rabbitmq/remove-single-arch-builds
Remove single-arch builds.
2 parents 09eb22d + d5a361b commit d5a6171

File tree

1 file changed

+0
-43
lines changed

1 file changed

+0
-43
lines changed

.github/workflows/build-test-publish.yml

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -61,49 +61,6 @@ jobs:
6161
push: ${{ github.event_name != 'pull_request' }}
6262
tags: ${{ steps.meta.outputs.tags }}
6363
labels: ${{ steps.meta.outputs.labels }}
64-
- name: OCI Metadata for single-arch amd64 image
65-
if: github.event_name != 'pull_request'
66-
id: single-arch-meta-amd64
67-
uses: docker/metadata-action@v5
68-
with:
69-
images: |
70-
rabbitmqoperator/default-user-credential-updater
71-
flavor: |
72-
latest=false
73-
tags: |
74-
type=semver,pattern={{version}},suffix=-amd64,latest=false
75-
type=sha,suffix=-amd64,latest=false
76-
- name: Build and push single-arch amd64 image
77-
if: github.event_name != 'pull_request'
78-
uses: docker/build-push-action@v6
79-
with:
80-
context: .
81-
platforms: linux/amd64
82-
push: ${{ github.event_name != 'pull_request' }}
83-
tags: ${{ steps.single-arch-meta-amd64.outputs.tags }}
84-
labels: ${{ steps.single-arch-meta-amd64.outputs.labels }}
85-
- name: OCI Metadata for single-arch arm64 image
86-
if: github.event_name != 'pull_request'
87-
id: single-arch-meta-arm64
88-
uses: docker/metadata-action@v5
89-
with:
90-
images: |
91-
rabbitmqoperator/default-user-credential-updater
92-
flavor: |
93-
latest=false
94-
tags: |
95-
type=semver,pattern={{version}},suffix=-arm64,latest=false
96-
type=sha,suffix=-arm64,latest=false
97-
- name: Build and push single-arch arm64 image
98-
if: github.event_name != 'pull_request'
99-
#if: startsWith(github.ref, 'refs/tags/v')
100-
uses: docker/build-push-action@v6
101-
with:
102-
context: .
103-
platforms: linux/arm64
104-
push: ${{ github.event_name != 'pull_request' }}
105-
tags: ${{ steps.single-arch-meta-arm64.outputs.tags }}
106-
labels: ${{ steps.single-arch-meta-arm64.outputs.labels }}
10764
release:
10865
name: Release to GitHub Releases
10966
runs-on: ubunut-latest

0 commit comments

Comments
 (0)