Skip to content

Commit

Permalink
Build multi-arch docker images.
Browse files Browse the repository at this point in the history
  • Loading branch information
GinoCanessa committed Aug 30, 2024
1 parent 0c34d02 commit f5ed038
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/argo-ris.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
workflow_run:
workflows: ['Publish on GitHub Container Registry']
types: [completed]
branches:
- main

jobs:
restart_deployment:
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/ghcr-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
workflow_run:
workflows: ['Tests']
types: [completed]
branches:
- main

env:
REGISTRY: ghcr.io
Expand All @@ -22,11 +24,17 @@ jobs:
id-token: write

steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Checkout repository
uses: actions/checkout@v4

- name: Log in to the Container registry
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
Expand All @@ -45,9 +53,10 @@ jobs:
- name: Build and push Docker image
id: push
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v8
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/nuget-tool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
workflow_run:
workflows: ['Tests']
types: [completed]
branches:
- main

jobs:
build:
Expand Down

0 comments on commit f5ed038

Please sign in to comment.