Skip to content

Commit 8287381

Browse files
Fix actions braking changes
1 parent 9a5dcd5 commit 8287381

4 files changed

Lines changed: 8 additions & 7 deletions

File tree

.github/workflows/publish_v3_layer.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ jobs:
139139
pip install --require-hashes -r requirements.txt
140140
141141
- name: Set up QEMU
142-
uses: docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a # v2.0.0
142+
uses: docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a # v4.0.0
143143
with:
144144
platforms: arm64
145145
# NOTE: we need QEMU to build Layer against a different architecture (e.g., ARM)
@@ -148,7 +148,6 @@ jobs:
148148
id: builder
149149
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
150150
with:
151-
install: true
152151
driver: docker
153152
platforms: linux/amd64,linux/arm64
154153

@@ -165,6 +164,8 @@ jobs:
165164

166165
- name: CDK build
167166
run: npx cdk synth --verbose --context version="${{ inputs.latest_published_version }}" --context pythonVersion="python${{ matrix.python-version }}" -o cdk.out
167+
env:
168+
BUILDX_BUILDER: ${{ steps.builder.outputs.name }}
168169
- name: zip output
169170
run: zip -r cdk.py${{ matrix.python-version }}.out.zip cdk.out
170171
- name: Archive CDK artifacts

.github/workflows/quality_code_cdk_constructor.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,14 @@ jobs:
5151
python-version: ${{ matrix.python-version }}
5252
cache: "poetry"
5353
- name: Set up QEMU
54-
uses: docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a # v2.0.0
54+
uses: docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a # v4.0.0
5555
with:
5656
platforms: arm64
5757
# NOTE: we need QEMU to build Layer against a different architecture (e.g., ARM)
5858
- name: Set up Docker Buildx
5959
id: builder
6060
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
6161
with:
62-
install: true
6362
driver: docker
6463
platforms: linux/amd64,linux/arm64
6564
- name: Install dependencies
@@ -68,3 +67,5 @@ jobs:
6867
poetry install
6968
- name: Test with pytest
7069
run: poetry run pytest tests
70+
env:
71+
BUILDX_BUILDER: ${{ steps.builder.outputs.name }}

.github/workflows/release-drafter.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,4 @@ jobs:
2727
permissions:
2828
contents: write # create release in draft mode
2929
steps:
30-
- uses: release-drafter/release-drafter@139054aeaa9adc52ab36ddf67437541f039b88e2 # v5.20.1
31-
env:
32-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30+
- uses: release-drafter/release-drafter@139054aeaa9adc52ab36ddf67437541f039b88e2 # v7.1.1

layer_v3/layer_constructors/layer_stack.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from __future__ import annotations
22

3+
# trigger CI: validate docker/setup-buildx-action v4 compatibility
34
from pathlib import Path
45
from typing import TYPE_CHECKING
56

0 commit comments

Comments
 (0)