diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2c00c04dd..e261139e3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,9 +41,9 @@ jobs: fail-fast: false matrix: golang_cross: - - 1.22.7-bookworm + - 1.22-bookworm include: - - golang_cross: 1.22.7-bookworm + - golang_cross: 1.22-bookworm goreleaser: 'ci/goreleaser/goreleaser.yml' cgo: 0 rpmvers: 'el/7 el/8 el/9 amazon/2 amazon/2023' @@ -127,12 +127,12 @@ jobs: mask-aws-account-id: false - uses: aws-actions/amazon-ecr-login@v2 id: ecr - if: ${{ matrix.golang_cross == '1.22.7-bookworm' }} + if: ${{ matrix.golang_cross == '1.22-bookworm' }} with: mask-password: 'true' - name: Docker metadata for CI id: ci_metadata - if: ${{ matrix.golang_cross == '1.22.7-bookworm' }} + if: ${{ matrix.golang_cross == '1.22-bookworm' }} uses: docker/metadata-action@v5 with: images: ${{ steps.ecr.outputs.registry }}/tyk-pump @@ -146,7 +146,7 @@ jobs: type=semver,pattern={{major}}.{{minor}},prefix=v type=semver,pattern={{version}},prefix=v - name: push image to CI - if: ${{ matrix.golang_cross == '1.22.7-bookworm' }} + if: ${{ matrix.golang_cross == '1.22-bookworm' }} uses: docker/build-push-action@v6 with: context: "dist" @@ -174,7 +174,7 @@ jobs: type=semver,pattern={{version}} labels: "org.opencontainers.image.title=tyk-pump (distroless) \norg.opencontainers.image.description=Tyk Analytics Pump to move analytics data from Redis to any supported back end (multiple back ends can be written to at once).\norg.opencontainers.image.vendor=tyk.io\norg.opencontainers.image.version=${{ github.ref_name }}\n" - name: push image to prod - if: ${{ matrix.golang_cross == '1.22.7-bookworm' }} + if: ${{ matrix.golang_cross == '1.22-bookworm' }} uses: docker/build-push-action@v6 with: context: "dist" @@ -189,7 +189,7 @@ jobs: labels: ${{ steps.tag_metadata.outputs.labels }} - name: save deb uses: actions/upload-artifact@v4 - if: ${{ matrix.golang_cross == '1.22.7-bookworm' }} + if: ${{ matrix.golang_cross == '1.22-bookworm' }} with: name: deb retention-days: 1 @@ -199,7 +199,7 @@ jobs: !dist/*fips*.deb - name: save rpm uses: actions/upload-artifact@v4 - if: ${{ matrix.golang_cross == '1.22.7-bookworm' }} + if: ${{ matrix.golang_cross == '1.22-bookworm' }} with: name: rpm retention-days: 1