Skip to content

Commit

Permalink
debug: debug docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
0xawaz committed Nov 11, 2024
1 parent 27567aa commit 2851ab0
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/common-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,19 +140,19 @@ jobs:
run: |
echo "DOCKER_TAG_IMAGE=${{ github.ref_name }}" >> "$GITHUB_ENV"
- name: Docker Build and Push
uses: docker/build-push-action@5cd11c3a4ced054e52742c5fd54dca954e0edd85 # v6.7.0
with:
context: ${{ inputs.docker-context }}
platforms: linux/amd64,linux/arm64
build-args: |
BLOCKCHAIN_ACTIONS_TOKEN=${{ secrets.BLOCKCHAIN_ACTIONS_TOKEN }}
file: ${{ inputs.working-directory }}/${{ inputs.docker-file }}
push: ${{ inputs.push_image }}
pull: false
tags: ghcr.io/zama-ai/${{ inputs.image-name }}:${{env.DOCKER_TAG_IMAGE }},ghcr.io/zama-ai/${{ inputs.image-name }}:latest
cache-from: ${{ inputs.cache-from }}
cache-to: ${{ inputs.cache-to }}
# - name: Docker Build and Push
# uses: docker/build-push-action@5cd11c3a4ced054e52742c5fd54dca954e0edd85 # v6.7.0
# with:
# context: ${{ inputs.docker-context }}
# platforms: linux/amd64,linux/arm64
# build-args: |
# BLOCKCHAIN_ACTIONS_TOKEN=${{ secrets.BLOCKCHAIN_ACTIONS_TOKEN }}
# file: ${{ inputs.working-directory }}/${{ inputs.docker-file }}
# push: ${{ inputs.push_image }}
# pull: false
# tags: ghcr.io/zama-ai/${{ inputs.image-name }}:${{env.DOCKER_TAG_IMAGE }},ghcr.io/zama-ai/${{ inputs.image-name }}:latest
# cache-from: ${{ inputs.cache-from }}
# cache-to: ${{ inputs.cache-to }}

- name: Extract Docker metadata
if: ${{ inputs.generate-dev-image }}
Expand Down

0 comments on commit 2851ab0

Please sign in to comment.