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 }} +