Skip to content

Commit

Permalink
refactor: Update build tag logic in release workflow to include borin…
Browse files Browse the repository at this point in the history
…gcrypto
  • Loading branch information
mativm02 committed May 20, 2024
1 parent 5ee1f94 commit 30f94a5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,9 @@ jobs:
strategy:
fail-fast: false
matrix:
arch:
- amd64
- arm64
distro:
- amazonlinux:2023
- registry.access.redhat.com/ubi8/ubi
Expand All @@ -547,11 +550,13 @@ jobs:
- uses: actions/download-artifact@v4
with:
name: rpm
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- name: generate dockerfile
run: |
echo 'FROM ${{ matrix.distro }}
COPY tyk-pump*.x86_64.rpm /tyk-pump.rpm
ARG TARGETARCH
COPY tyk-pump*_${TARGETARCH}.rpm /tyk-pump.rpm
RUN command -v curl || yum install -y curl
RUN command -v useradd || yum install -y shadow-utils
RUN curl -fsSL https://packagecloud.io/install/repositories/tyk/tyk-pump/script.rpm.sh | bash && yum install -y tyk-pump-1.6.0-1
Expand All @@ -563,6 +568,7 @@ jobs:
uses: docker/build-push-action@v5
with:
context: "."
platforms: linux/${{ matrix.arch }}
file: Dockerfile
push: false

Expand Down

0 comments on commit 30f94a5

Please sign in to comment.