|
61 | 61 | push: ${{ github.event_name != 'pull_request' }}
|
62 | 62 | tags: ${{ steps.meta.outputs.tags }}
|
63 | 63 | 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 }} |
107 | 64 | release:
|
108 | 65 | name: Release to GitHub Releases
|
109 | 66 | runs-on: ubunut-latest
|
|
0 commit comments