Skip to content

Commit

Permalink
Publish image to Harbor
Browse files Browse the repository at this point in the history
  • Loading branch information
djjudas21 committed Dec 6, 2021
1 parent f23ca31 commit 437b277
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,18 @@ jobs:
# list of Docker images to use as base name for tags
images: |
djjudas21/smtp-relay
registry.apps.gazeley.uk/jgazeley/smtp-relay
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to Harbor
uses: docker/login-action@v1
with:
registry: registry.apps.gazeley.uk
username: ${{ secrets.HARBOR_USERNAME }}
password: ${{ secrets.HARBOR_TOKEN }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
Expand Down

0 comments on commit 437b277

Please sign in to comment.