Skip to content

Commit dc8f1a7

Browse files
fix: add dockerhub as a registry
1 parent 2909625 commit dc8f1a7

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/release.yaml

+7-1
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,15 @@ jobs:
5959
username: ${{ github.actor }}
6060
password: ${{ secrets.GITHUB_TOKEN }}
6161

62+
- name: Login to DockerHub
63+
uses: docker/login-action@v3
64+
with:
65+
username: ${{ secrets.DOCKERHUB_USERNAME }}
66+
password: ${{ secrets.DOCKERHUB_PAT }}
67+
6268
- name: Build and push
6369
uses: docker/build-push-action@v6
6470
with:
6571
context: .
6672
push: true
67-
tags: ghcr.io/jessesimpson36/yamldiff:${{ github.ref_name }}
73+
tags: ghcr.io/jessesimpson36/yamldiff:${{ github.ref_name }},jessesimpson/yamldiff:${{ github.ref_name }}

0 commit comments

Comments
 (0)