Browse Source

Update Docker login action and credentials

pull/6029/head
Joarley Santos 2 months ago
committed by GitHub
parent
commit
8bf2ccbd50
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 7
      .github/workflows/docker-image.yml

7
.github/workflows/docker-image.yml

@ -33,10 +33,11 @@ jobs:
- name: Login to DockerHub - name: Login to DockerHub
if: github.event_name != 'pull_request' if: github.event_name != 'pull_request'
uses: docker/login-action@v2 uses: docker/login-action@v3
with: with:
username: ${{ secrets.DOCKER_HUB_USERNAME }} registry: ghcr.io
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push - name: Build and push
uses: docker/build-push-action@v3 uses: docker/build-push-action@v3

Loading…
Cancel
Save