Skip to content

Commit

Permalink
try buildah
Browse files Browse the repository at this point in the history
  • Loading branch information
alvicsam committed Oct 2, 2024
1 parent be7d285 commit 0ce065b
Showing 1 changed file with 19 additions and 8 deletions.
27 changes: 19 additions & 8 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,26 @@ jobs:
# - name: Check out the repo
# uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v.4.2.0

- name: Build and push Docker image from main
uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v6.9.0
- name: Build and Push Docker Image
uses: paritytech/build-n-push-action@main
with:
# context: .
file: ./scripts/ci/docker/zombienet_injected.Dockerfile
push: false
tags: |
${{ env.IMAGE_NAME }}:${{ env.VERSION }}
${{ env.IMAGE_NAME }}:latest
push_to_registry: "false"
image_name: ${{ env.IMAGE_NAME }}
dockerfile_path: "./scripts/ci/docker/zombienet_injected.Dockerfile"
build_args: | # optional
ARG1=value1
ARG2=value2
context: "./path/to/context" # optional, defaults to '.'

# - name: Build and push Docker image from main
# uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v6.9.0
# with:
# # context: .
# file: ./scripts/ci/docker/zombienet_injected.Dockerfile
# push: false
# tags: |
# ${{ env.IMAGE_NAME }}:${{ env.VERSION }}
# ${{ env.IMAGE_NAME }}:latest

build_push_image:
name: Build and Push Docker image to Docker Hub
Expand Down

0 comments on commit 0ce065b

Please sign in to comment.