Skip to content

Commit

Permalink
feat: publish arm64 Docker image as well
Browse files Browse the repository at this point in the history
  • Loading branch information
andresrosenthal committed Feb 6, 2025
1 parent 930930a commit 9045c8c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish_image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
- main
env:
REGISTRY: ghcr.io
XROAD_HOME: ${{ github.workspace }}
jobs:
Publish:
name: Publish example-restapi image
Expand All @@ -21,11 +20,14 @@ jobs:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
context: ${{ github.workspace }}
platforms: linux/amd64,linux/arm64
push: true
provenance: false
tags: ghcr.io/nordic-institute/xrddev-example-restapi:latest
- name: Clean old images
uses: snok/container-retention-policy@v2
Expand Down

0 comments on commit 9045c8c

Please sign in to comment.