Skip to content

Commit

Permalink
Update publish_docker_image.yml (#193)
Browse files Browse the repository at this point in the history
fix: invalid reference format
  • Loading branch information
gcattan authored Oct 5, 2023
1 parent ee72be2 commit 1037c95
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish_docker_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,7 @@ jobs:
docker build . --file Dockerfile --tag ghcr.io/${actor}/pyriemann-qiskit:$tag
- name: Publish the Docker image
run: |
docker login ghcr.io -u ${{ github.actor }} -p $GITHUB_TOKEN
docker push ghcr.io/${{ github.actor }}/pyriemann-qiskit:$tag
export tag=$(git rev-parse --short "$GITHUB_SHA")
export actor=pyriemann
docker login ghcr.io -u ${actor} -p $GITHUB_TOKEN
docker push ghcr.io/${actor}/pyriemann-qiskit:$tag

0 comments on commit 1037c95

Please sign in to comment.