Skip to content

Commit

Permalink
fix/docker image tag (#171)
Browse files Browse the repository at this point in the history
* fix docker image tag

* remove tag from env, put it in run section
  • Loading branch information
gcattan authored Aug 1, 2023
1 parent 0144141 commit df9d572
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/create_docker_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:

runs-on: ubuntu-latest
env:
tag: ${{ github.event.pull_request.number }}
GITHUB_TOKEN: ${{ github.token }}
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: |
export tag=$(git rev-parse --short "$GITHUB_SHA")
export actor=$(echo ${{ github.actor }} | tr -d '[]')
docker build . --file Dockerfile --tag ghcr.io/${actor}/pyriemann-qiskit:$tag

0 comments on commit df9d572

Please sign in to comment.