Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Matts966 committed Jul 10, 2020
1 parent f4cf803 commit 4da05b1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 4da05b1

Please sign in to comment.