Skip to content

Commit b41f32f

Browse files
josephleeklringo-but-quantummaliasadi
authored
Fix docker action branch (#1346)
**Context:** Currently the docker build action always uses the dockerfile from the master branch, regardless of which lightning branch we are testing. When the dockerfile is updated in master, this can cause failure when testing stable docker builds. **Description of the Change:** Update docker action to use dockerfile from the same lightning branch as that being tested. **Benefits:** Stable docker build works **Possible Drawbacks:** **Related GitHub Issues:** [latest docker build](https://github.com/PennyLaneAI/pennylane-lightning/actions/runs/22314096215) [stable docker build](https://github.com/PennyLaneAI/pennylane-lightning/actions/runs/22314110578) [sc-112280] --------- Co-authored-by: ringo-but-quantum <github-ringo-but-quantum@xanadu.ai> Co-authored-by: Ali Asadi <10773383+maliasadi@users.noreply.github.com>
1 parent 3b578f8 commit b41f32f

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.github/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@
3232

3333
<h3>Internal changes ⚙️</h3>
3434

35+
- Updated Github docker build action to use relevant lightning branch.
36+
[(#1346)](https://github.com/PennyLaneAI/pennylane-lightning/pull/1346)
37+
3538
- Remove dependency for GCC-11 when building `lightning.amdgpu`.
3639
[(#1343)](https://github.com/PennyLaneAI/pennylane-lightning/pull/1343)
3740

.github/workflows/docker_linux_x86_64.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ jobs:
5252

5353
- name: Checkout
5454
uses: actions/checkout@v4
55+
with:
56+
ref: ${{ inputs.lightning-version }}
5557

5658
- name: Set up Docker Buildx
5759
uses: docker/setup-buildx-action@v3

pennylane_lightning/core/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
Version number (major.minor.patch[-label])
1717
"""
1818

19-
__version__ = "0.45.0-dev19"
19+
__version__ = "0.45.0-dev20"

0 commit comments

Comments
 (0)