Skip to content

Commit

Permalink
chore: Use dedicated runner for building ARM image to speed up the pr…
Browse files Browse the repository at this point in the history
…ocess
  • Loading branch information
andresrosenthal committed Feb 7, 2025
1 parent 73581bc commit 5f97ba7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/publish_image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
env:
REGISTRY: ghcr.io
jobs:
publish:
publishImages:
strategy:
matrix:
os: [ubuntu-24.04, ubuntu-24.04-arm]
Expand All @@ -20,12 +20,13 @@ jobs:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker imageq
- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
push: true
platforms: ${{ matrix.platform }}
tags: ghcr.io/nordic-institute/xrddev-example-restapi:latest
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
- name: Clean old images
uses: snok/container-retention-policy@v2
with:
Expand Down

0 comments on commit 5f97ba7

Please sign in to comment.