From c301b2f437d86d2f5fce0e50842d2354fcce4b4d Mon Sep 17 00:00:00 2001 From: Joao Gilberto Date: Mon, 28 Mar 2022 15:11:01 -0500 Subject: [PATCH] Update README.md on Docker Hub --- .github/workflows/build.yml | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d8e6945..5e3ff39 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -62,24 +62,24 @@ jobs: with: images: ${{ secrets.DOCKER_REGISTRY }}/${{ env.IMAGE_NAME }} - # Build and push Docker image with Buildx (don't push on PR) - # https://github.com/docker/build-push-action - # - name: Build and push Docker image - # uses: docker/build-push-action@v2 - # with: - # context: . - # file: Dockerfile - # platforms: linux/amd64,linux/arm64 - # push: ${{ github.event_name != 'pull_request' || github.event.inputs.push == 'true' }} - # tags: ${{ steps.meta.outputs.tags }} - # labels: ${{ steps.meta.outputs.labels }} + Build and push Docker image with Buildx (don't push on PR) + https://github.com/docker/build-push-action + - name: Build and push Docker image + uses: docker/build-push-action@v2 + with: + context: . + file: Dockerfile + platforms: linux/amd64,linux/arm64 + push: ${{ github.event_name != 'pull_request' || github.event.inputs.push == 'true' }} + tags: ${{ steps.meta.outputs.tags }} + labels: ${{ steps.meta.outputs.labels }} - - name: Docker Hub Description - if: github.event_name != 'pull_request' || github.event.inputs.push == 'true' - run: | - wget -q https://github.com/christian-korneck/docker-pushrm/releases/download/v1.8.0/docker-pushrm_linux_amd64 -O $HOME/.docker/cli-plugins/docker-pushrm - chmod +x $HOME/.docker/cli-plugins/docker-pushrm - docker pushrm ${{ env.IMAGE_NAME }} + # - name: Docker Hub Description + # if: github.event_name != 'pull_request' || github.event.inputs.push == 'true' + # run: | + # wget -q https://github.com/christian-korneck/docker-pushrm/releases/download/v1.8.0/docker-pushrm_linux_amd64 -O $HOME/.docker/cli-plugins/docker-pushrm + # chmod +x $HOME/.docker/cli-plugins/docker-pushrm + # docker pushrm ${{ env.IMAGE_NAME }} Documentation: runs-on: 'ubuntu-latest'