mirror of
https://github.com/fradelg/docker-mysql-cron-backup.git
synced 2025-06-28 07:36:40 +00:00
login to docker hub using action too
This commit is contained in:
parent
7f4c340402
commit
927b053289
1 changed files with 4 additions and 1 deletions
5
.github/workflows/image.yml
vendored
5
.github/workflows/image.yml
vendored
|
@ -32,7 +32,10 @@ jobs:
|
|||
id: docker-tag
|
||||
uses: yuya-takeyama/docker-tag-from-github-ref-action@v1
|
||||
- name: Login to Docker Hub
|
||||
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login --username "${{ secrets.DOCKER_USERNAME }}" --password-stdin
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
- name: Build multiarch image
|
||||
run: |
|
||||
docker buildx build --push \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue