From 4da05b19a502e1a282c50937b252d9482ace19bd Mon Sep 17 00:00:00 2001 From: Matts966 <28551465+Matts966@users.noreply.github.com> Date: Fri, 3 Jul 2020 17:48:37 +0900 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bfa5bd42..d73f5ca7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -64,3 +64,13 @@ jobs: repository: matts966/alphasql tag_with_ref: true dockerfile: docker/Dockerfile + + - name: Push to Github Registry + run: | + docker tag matts966/alphasql docker.pkg.github.com/alphasql/alphasql:${GITHUB_REF#refs/heads/} + echo GITHUB_TOKEN | docker login https://docker.pkg.github.com -u DOCKER_USERNAME --password-stdin + docker push docker.pkg.github.com/alphasql/alphasql:${GITHUB_REF#refs/heads/} + env: + DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} + DOCKER_PASSWORD: ${{ secrets.GITHUB_TOKEN }} +