Skip to content

Commit

Permalink
Update image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kilosonc authored Mar 9, 2023
1 parent df797ca commit 0cd6598
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ jobs:
strategy:
matrix:
components: [core, job, swagger]
platforms: ['linux/amd64', 'linux/arm64']
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -54,7 +53,7 @@ jobs:
echo "run=${{ startsWith(github.ref_name, 'v') || ((steps.changes.outputs.go == 'true' && (matrix.components == 'core' || matrix.components == 'job')) || (steps.changes.outputs.api == 'true' && matrix.components == 'swagger')) }}" >> $GITHUB_OUTPUT
- name: Set up QEMU
if: ${{ matrix.platforms != 'linux/amd64' && steps.condition.outputs.run == 'true' }}
if: ${{ steps.condition.outputs.run == 'true' }}
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
if: ${{ steps.condition.outputs.run == 'true' }}
Expand All @@ -65,6 +64,6 @@ jobs:
with:
context: .
file: ./build/${{ matrix.components }}/Dockerfile
platforms: ${{ matrix.platforms }}
platforms: linux/amd64
push: true
tags: ${{ steps.meta.outputs.tags }}

0 comments on commit 0cd6598

Please sign in to comment.