Skip to content

Commit

Permalink
use dockerhub for docker images (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
ljubon authored Dec 16, 2021
1 parent b02c816 commit 0d6d6f5
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,19 +60,18 @@ jobs:
if: ${{ always() }}
uses: scacap/action-surefire-report@v1

- name: Login to GitHub Registry
- name: Login to Docker Hub
if: ${{ github.ref_type == 'tag' }}
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Docker meta
id: meta
uses: docker/metadata-action@v3
with:
images: ghcr.io/${{ github.repository }}
images: gresearchdev/waltz
flavor: latest=true
tags: |
type=ref,event=tag,enable=${{ github.ref_type == 'tag' }}
Expand Down

0 comments on commit 0d6d6f5

Please sign in to comment.