Skip to content

Commit 84f2aff

Browse files
authored
ci: Update build.yml workflow
1 parent 0e392af commit 84f2aff

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ jobs:
158158
PKG_VERSION: ${{needs.prepare.outputs.pkg_version}}
159159
FROM_TAG: ${{needs.prepare.outputs.from_tag}}
160160
TO_TAG: ${{needs.prepare.outputs.to_tag}}
161+
TARGET_BASE: ${{needs.prepare.outputs.base_image_version}}
161162

162163
steps:
163164
- uses: actions/checkout@v4
@@ -218,7 +219,7 @@ jobs:
218219
SKIP_TESTS: ${{ github.event.inputs.skiptests }}
219220
DEBIAN_FRONTEND: noninteractive
220221
BROWSERSLIST_IGNORE_OLD_DATA: 1
221-
TARGETBASE: ${{ needs.prepare.outputs.base_image_version }}
222+
TARGET_BASE: ${{ env.TARGET_BASE }}
222223
with:
223224
host: ${{ steps.azlaunch.outputs.ipaddr }}
224225
port: 22
@@ -329,7 +330,7 @@ jobs:
329330
echo "=========================================================================="
330331
echo "Collecting statics..."
331332
echo "=========================================================================="
332-
sudo docker run --rm --name collectstatics -v $(pwd):/workspace ghcr.io/ietf-tools/datatracker-app-base:$TARGETBASE sh dev/build/collectstatics.sh
333+
sudo docker run --rm --name collectstatics -v $(pwd):/workspace ghcr.io/ietf-tools/datatracker-app-base:$TARGET_BASE sh dev/build/collectstatics.sh
333334
echo "Pushing statics..."
334335
cd static
335336
aws s3 sync . s3://static/dt/$PKG_VERSION --only-show-errors

0 commit comments

Comments
 (0)