Skip to content

Commit

Permalink
fix: add dockerhub as a registry
Browse files Browse the repository at this point in the history
  • Loading branch information
jessesimpson36 committed Nov 3, 2024
1 parent 2909625 commit dc8f1a7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,15 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PAT }}

- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: ghcr.io/jessesimpson36/yamldiff:${{ github.ref_name }}
tags: ghcr.io/jessesimpson36/yamldiff:${{ github.ref_name }},jessesimpson/yamldiff:${{ github.ref_name }}

0 comments on commit dc8f1a7

Please sign in to comment.