Skip to content

Commit

Permalink
feat(release): publish werf images for linux/arm64 platform (#6427)
Browse files Browse the repository at this point in the history
Signed-off-by: Evgeniy Frolov <evgeniy.frolov@flant.com>
  • Loading branch information
Fral738 authored Nov 21, 2024
1 parent 710cd54 commit 833b26d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/release_trdl-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ jobs:
username: ${{ secrets.WERF_IN_IMAGE_REPO_LOGIN }}
password: ${{ secrets.WERF_IN_IMAGE_REPO_PASSWORD }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: linux/amd64, linux/arm64

- name: Build and publish werf images
run: ./scripts/werf-in-image/build-and-publish.sh ${{ matrix.dest-registry }}
env:
Expand Down
5 changes: 5 additions & 0 deletions scripts/werf-in-image/.werf/templates/base_config.tmpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
project: werf-in-image
configVersion: 1

build:
platform:
- linux/amd64
- linux/arm64
---

{{- range $distroInd, $distroName := $.Distros }}
Expand Down
2 changes: 1 addition & 1 deletion scripts/werf-in-image/dockerfile/trdl.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ RUN while true ; do \
echo "Version mismatch! Will retry update" &&\
sleep 1; \
done; \
cp $(trdl bin-path werf ${group} ${channel})/werf /usr/local/bin/werf; \
cp $(trdl bin-path werf ${group} ${channel})/werf /usr/local/bin/werf

0 comments on commit 833b26d

Please sign in to comment.