Merge pull request 'feat: update workflow to allow arm builds' (#5) from dev into main

Reviewed-on: #5
This commit was merged in pull request #5.
This commit is contained in:
2025-09-28 10:40:59 +01:00

View File

@@ -27,7 +27,7 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4.2.2
uses: actions/checkout@vmaster
with:
fetch-depth: 0 # Fetch full history
fetch-tags: true # Fetch all tags (refs/tags)
@@ -78,13 +78,13 @@ jobs:
echo "tag=$prev" >> "$GITHUB_OUTPUT"
- name: Build and store Docker image
- name: Build and store Docker image for multiple architectures
if: ${{ github.event.inputs.docker_release == 'true' }}
run: |
REPO_NAME=$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')
docker buildx build \
--platform linux/amd64 \
--platform linux/amd64,linux/arm64 \
--tag ${{ secrets.REGISTRY }}/${REPO_NAME}:latest \
--tag ${{ secrets.REGISTRY }}/${REPO_NAME}:${{ env.VERSION }} \
--push .