Skip to content

Commit

Permalink
Update docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tgunsch authored Dec 30, 2020
1 parent eb8ad7c commit 62c3d02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
docker build . --file Dockerfile --tag $GH_IMAGE_NAME:${GITHUB_REF:10}
docker tag $GH_IMAGE_NAME:${GITHUB_REF:10} $GH_IMAGE_NAME:latest
- name: Log into gh registry
run: echo "${{ secrets.GH_TOKEN }}" | docker login -u tgunsch --password-stdin
run: echo "${{ secrets.GH_TOKEN }}" | docker login ghcr.io -u tgunsch --password-stdin
- name: Push image to gh registry
run: |
docker push $GH_IMAGE_NAME:${GITHUB_REF:10}
Expand All @@ -35,4 +35,4 @@ jobs:
docker tag $GH_IMAGE_NAME:${GITHUB_REF:10} $DOCKER_IMAGE_NAME:${GITHUB_REF:10}
docker push $DOCKER_IMAGE_NAME:${GITHUB_REF:10}
docker tag $GH_IMAGE_NAME:${GITHUB_REF:10} $DOCKER_IMAGE_NAME:latest
docker push $DOCKER_IMAGE_NAME:latest
docker push $DOCKER_IMAGE_NAME:latest

0 comments on commit 62c3d02

Please sign in to comment.