From 75e30ee6d3ff89fdfeeea7b58529806049338a17 Mon Sep 17 00:00:00 2001 From: Thomas Date: Sat, 17 Apr 2021 12:10:59 +1200 Subject: [PATCH] Update api-push.yaml --- .github/workflows/api-push.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/api-push.yaml b/.github/workflows/api-push.yaml index 7bafdc1..bcf0472 100644 --- a/.github/workflows/api-push.yaml +++ b/.github/workflows/api-push.yaml @@ -21,6 +21,12 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} registry: docker.pkg.github.com + - name: Login to ghcr.io + uses: docker/login-action@v1 + with: + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + registry: ghcr.io - name: Build and push API uses: docker/build-push-action@v2 @@ -29,4 +35,5 @@ jobs: push: true pull: true tags: | - docker.pkg.github.com/engineer-man/piston/api \ No newline at end of file + docker.pkg.github.com/engineer-man/piston/api + ghcr.io/engineer-man/piston