diff --git a/.github/workflows/build-test-publish.yml b/.github/workflows/build-test-publish.yml index f42637d..d55aa07 100644 --- a/.github/workflows/build-test-publish.yml +++ b/.github/workflows/build-test-publish.yml @@ -61,49 +61,6 @@ jobs: push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - - name: OCI Metadata for single-arch amd64 image - if: github.event_name != 'pull_request' - id: single-arch-meta-amd64 - uses: docker/metadata-action@v5 - with: - images: | - rabbitmqoperator/default-user-credential-updater - flavor: | - latest=false - tags: | - type=semver,pattern={{version}},suffix=-amd64,latest=false - type=sha,suffix=-amd64,latest=false - - name: Build and push single-arch amd64 image - if: github.event_name != 'pull_request' - uses: docker/build-push-action@v6 - with: - context: . - platforms: linux/amd64 - push: ${{ github.event_name != 'pull_request' }} - tags: ${{ steps.single-arch-meta-amd64.outputs.tags }} - labels: ${{ steps.single-arch-meta-amd64.outputs.labels }} - - name: OCI Metadata for single-arch arm64 image - if: github.event_name != 'pull_request' - id: single-arch-meta-arm64 - uses: docker/metadata-action@v5 - with: - images: | - rabbitmqoperator/default-user-credential-updater - flavor: | - latest=false - tags: | - type=semver,pattern={{version}},suffix=-arm64,latest=false - type=sha,suffix=-arm64,latest=false - - name: Build and push single-arch arm64 image - if: github.event_name != 'pull_request' - #if: startsWith(github.ref, 'refs/tags/v') - uses: docker/build-push-action@v6 - with: - context: . - platforms: linux/arm64 - push: ${{ github.event_name != 'pull_request' }} - tags: ${{ steps.single-arch-meta-arm64.outputs.tags }} - labels: ${{ steps.single-arch-meta-arm64.outputs.labels }} release: name: Release to GitHub Releases runs-on: ubunut-latest