How to login to Docker registries using Github Actions
问题 Im trying to push a docker image to public docker repository using github actions following their documentation but I cant make it work: name: CI on: push: branches: - master jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - uses: actions/docker/login@master with: # Set the secret as an input DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} env: # Set the secret in the env DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}