From f0cbc04ef8c86c50a4c42a143108fdc80943ae9e Mon Sep 17 00:00:00 2001 From: Oskar Manhart <52569953+oskardotglobal@users.noreply.github.com> Date: Fri, 26 Jan 2024 12:53:47 +0000 Subject: [PATCH] feat: properly tag different platforms --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c453760..257a598 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -47,7 +47,7 @@ jobs: uses: redhat-actions/buildah-build@v2 with: image: postgres-autoconf - tags: ${{ matrix.pg_version }}-alpine ${{ matrix.pg_version == env.LATEST_RELEASE && 'latest' }} + tags: ${{ matrix.pg_version }}-alpine${{ matrix.platform != 'amd64' && '-' + matrix.platform || '' }}${{ matrix.pg_version == env.LATEST_RELEASE && ' latest' || '' }}${{ matrix.pg_version == env.LATEST_RELEASE && matrix.platform != 'amd64' && '-' + matrix.platform || '' }} context: . platforms: linux/${{ matrix.platform }} containerfiles: |