1
0
Fork 0

Update README.md on Docker Hub

This commit is contained in:
Joao Gilberto 2022-03-28 15:08:03 -05:00
parent 3aaff4aa04
commit 7cf35a4e07

View file

@ -64,23 +64,22 @@ jobs:
# Build and push Docker image with Buildx (don't push on PR) # Build and push Docker image with Buildx (don't push on PR)
# https://github.com/docker/build-push-action # https://github.com/docker/build-push-action
- name: Build and push Docker image # - name: Build and push Docker image
uses: docker/build-push-action@v2 # uses: docker/build-push-action@v2
with: # with:
context: . # context: .
file: Dockerfile # file: Dockerfile
platforms: linux/amd64,linux/arm64 # platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' || github.event.inputs.push == 'true' }} # push: ${{ github.event_name != 'pull_request' || github.event.inputs.push == 'true' }}
tags: ${{ steps.meta.outputs.tags }} # tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} # labels: ${{ steps.meta.outputs.labels }}
- name: Docker Hub Description - name: Docker Hub Description
if: github.event_name != 'pull_request' || github.event.inputs.push == 'true' if: github.event_name != 'pull_request' || github.event.inputs.push == 'true'
uses: peter-evans/dockerhub-description@v2.1.0 run: |
env: 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
DOCKERHUB_USERNAME: ${{ secrets.DOCKER_REGISTRY_USER }} chmod +x $HOME/.docker/cli-plugins/docker-pushrm
DOCKERHUB_PASSWORD: ${{ secrets.DOCKER_REGISTRY_TOKEN }} docker pushrm ${{ env.IMAGE_NAME }}
DOCKERHUB_REPOSITORY: ${{ env.IMAGE_NAME }}
Documentation: Documentation:
runs-on: 'ubuntu-latest' runs-on: 'ubuntu-latest'