Skip to content

Commit

Permalink
fix(image): use docker build instead of podman
Browse files Browse the repository at this point in the history
  • Loading branch information
RouHim committed Dec 13, 2022
1 parent e574ab5 commit ae91c05
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/build-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -170,15 +170,6 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}

- name: Build container image
uses: docker/build-push-action@v3
with:
tags: ${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }}_${{ matrix.container-image-arch }}
platforms: linux/amd64, linux/arm64, linux/arm/v7
file: ./Containerfile
load: true
push: false

- name: Load x86 image into local repo
uses: docker/build-push-action@v3
with:
Expand All @@ -198,7 +189,7 @@ jobs:
- name: Cleanup
run: docker kill test-container && docker rm test-container

- name: Push container image
- name: Build and push multi platform container image
uses: docker/build-push-action@v3
with:
tags: ${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }}_${{ matrix.container-image-arch }}
Expand Down

0 comments on commit ae91c05

Please sign in to comment.