Skip to content

Commit

Permalink
Only run build-push-action once
Browse files Browse the repository at this point in the history
  • Loading branch information
adamant-pwn committed Jun 5, 2024
1 parent 1f439d8 commit 619ccce
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,5 @@ jobs:
docker cp $container_id:/rawhash2/build ./build
docker rm $container_id
- name: Push Docker image to GHCR
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: ghcr.io/${{ steps.repo_owner.outputs.owner }}/build_test:latest

- name: Run Docker container
run: docker run --rm ghcr.io/${{ steps.repo_owner.outputs.owner }}/build_test:latest -h

0 comments on commit 619ccce

Please sign in to comment.