diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 1a402fb..c691f02 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -1,12 +1,8 @@ name: Docker Image Push Action on: - push: - branches: [ "main" ] pull_request: branches: [ "main" ] - pull_request_review: - types: [submitted] jobs: build: @@ -27,7 +23,6 @@ jobs: - name: Build and push uses: docker/build-push-action@v4 - if: ${{ github.event_name == 'push' || github.event.review.state == 'approved' }} with: context: . platforms: linux/amd64,linux/arm64 diff --git a/README.md b/README.md index 939d45c..c75814b 100644 --- a/README.md +++ b/README.md @@ -55,3 +55,9 @@ To build the image, *make sure you have docker installed* and use: ```bash docker build . -t rust-node ``` + +### Uploading a new Image + +- Fork The repo +- Make changes and have fun +- PR to main \ No newline at end of file