From 75e30ee6d3ff89fdfeeea7b58529806049338a17 Mon Sep 17 00:00:00 2001 From: Thomas Date: Sat, 17 Apr 2021 12:10:59 +1200 Subject: [PATCH 1/2] 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 From 1edb5ad0466056eeecab11670baf9bc00048ee86 Mon Sep 17 00:00:00 2001 From: Thomas Date: Sat, 17 Apr 2021 12:11:31 +1200 Subject: [PATCH 2/2] ci bump --- api/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/api/Dockerfile b/api/Dockerfile index 395e414..40ecb71 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -26,3 +26,4 @@ RUN make -C ./src/nosocket/ all && make -C ./src/nosocket/ install CMD [ "node", "src", "-m", "-c", "/piston/config.yaml"] EXPOSE 2000/tcp +