Skip to content

Commit

Permalink
ci: Update to push image and not worry about inspecting on push to main
Browse files Browse the repository at this point in the history
  • Loading branch information
lsetiawan committed Feb 14, 2024
1 parent a6d5de3 commit 5d7709e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ jobs:
context: .
platforms: linux/amd64
load: true
push: ${{ github.ref == 'refs/heads/main' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
Expand All @@ -81,8 +82,3 @@ jobs:
run: |
docker run ${{ steps.registry_org.outputs.image_base }}/${{ env.PROJECT_NAME }}:${{ matrix.CAUSTICS_VERSION }}-cuda-${{ matrix.CUDA_VERSION }} micromamba list
docker images ls
- name: Push Docker Image
if: ${{ github.ref == 'refs/heads/main' }}
run: |
docker push --all-tags ${{ steps.registry_org.outputs.image_base }}/${{ env.PROJECT_NAME }}

0 comments on commit 5d7709e

Please sign in to comment.