Skip to content

Commit

Permalink
Updating golang_cross
Browse files Browse the repository at this point in the history
  • Loading branch information
mativm02 committed Oct 25, 2024
1 parent 2f7a712 commit 3e0294e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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
Expand All @@ -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"
Expand Down Expand Up @@ -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"
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 3e0294e

Please sign in to comment.