From 437b277c71790a45cdb0152650fc2d6a84a32d9b Mon Sep 17 00:00:00 2001 From: Jonathan Gazeley Date: Mon, 6 Dec 2021 12:16:24 +0000 Subject: [PATCH] Publish image to Harbor --- .github/workflows/publish.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index cc302bf..deee4c5 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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