Skip to content

Commit

Permalink
Fix: broken action (#1641)
Browse files Browse the repository at this point in the history
fix: cannot use env context in env action block
  • Loading branch information
jselig-rigetti authored Aug 30, 2023
1 parent 4b37fd9 commit 5a10a0d
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ on:
workflow_dispatch:
description: "Manually publish release"

env:
# Only used ephemerally for validating image
DOCKER_TEST_TAG: "${{ env.DOCKER_IMAGE_NAME }}:test"

jobs:
build-publish:
name: Build and Publish
Expand Down Expand Up @@ -66,12 +62,12 @@ jobs:
with:
context: .
load: true
tags: ${{ env.DOCKER_TEST_TAG }}
tags: "${{ env.DOCKER_IMAGE_NAME }}:test"
build-args: |
pyquil_version=${{ env.PYQUIL_TAG_VERSION }}
- name: Test Image
run: |
docker run --rm ${{ env.DOCKER_TEST_TAG }} python -c "from pyquil import get_qc"
docker run --rm "${{ env.DOCKER_IMAGE_NAME }}:test" python -c "from pyquil import get_qc"
# Build and publish the image
- name: Login to Docker Hub
uses: docker/login-action@v2
Expand Down

0 comments on commit 5a10a0d

Please sign in to comment.