Skip to content

Commit

Permalink
Use correct variable format
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilKWarmdahl committed Oct 28, 2024
1 parent 81ae5bc commit c875d92
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/docker-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ jobs:
set +e
docker manifest inspect ${{env.IMAGE_NAME}}:rust${{env.RUST_VERSION}}-ghc${{env.GHC_VERSION}}
exitcode=$?
if [ exitcode -eq "1" ]; then
if [ $exitcode -eq "1" ]; then
echo "Error: ${{env.IMAGE_NAME}}:rust${{env.RUST_VERSION}}-ghc${{env.GHC_VERSION}} already exist"
fi
# - name: Login to Docker Hub
# uses: docker/login-action@v3
# with:
# username: ${{ env.DOCKERHUB_USERNAME }}
# password: ${{ env.DOCKERHUB_TOKEN }}
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ env.DOCKERHUB_USERNAME }}
password: ${{ env.DOCKERHUB_TOKEN }}

- name: Clone repo
uses: actions/checkout@v4
Expand Down

0 comments on commit c875d92

Please sign in to comment.