Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

ci: publish nightly images for amd64 and arm64

Amruth Pillai9699dbf2d866
diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml
index 8fb6bd9f7..e46f06a79 100644
--- a/.github/workflows/docker-build.yml
+++ b/.github/workflows/docker-build.yml
@@ -24,7 +24,6 @@ jobs:
outputs:
nightly: ${{ steps.mode.outputs.nightly }}
release: ${{ steps.mode.outputs.release }}
- matrix: ${{ steps.mode.outputs.matrix }}
steps:
- name: Determine publishing mode
@@ -33,11 +32,9 @@ jobs:
if [[ "${{ github.event_name }}" == "push" && "${{ github.ref }}" == "refs/heads/main" ]]; then
echo "nightly=true" >> "$GITHUB_OUTPUT"
echo "release=false" >> "$GITHUB_OUTPUT"
- echo 'matrix={"include":[{"platform":"linux/amd64","runner":"ubuntu-latest","arch":"amd64"}]}' >> "$GITHUB_OUTPUT"
else
echo "nightly=false" >> "$GITHUB_OUTPUT"
echo "release=true" >> "$GITHUB_OUTPUT"
- echo 'matrix={"include":[{"platform":"linux/amd64","runner":"ubuntu-latest","arch":"amd64"},{"platform":"linux/arm64","runner":"ubuntu-24.04-arm","arch":"arm64"}]}' >> "$GITHUB_OUTPUT"
fi
build:
@@ -45,7 +42,14 @@ jobs:
strategy:
fail-fast: false
- matrix: ${{ fromJSON(needs.mode.outputs.matrix) }}
+ matrix:
+ include:
+ - platform: linux/amd64
+ runner: ubuntu-latest
+ arch: amd64
+ - platform: linux/arm64
+ runner: ubuntu-24.04-arm
+ arch: arm64
runs-on: ${{ matrix.runner }}
timeout-minutes: 30