Skip to content

Commit d731976

Browse files
ci: use global setuptools-scm override
This results in the incorrect version for sentry-fuzzing-config, but using _FOR_FUZZMANAGER override doesn't work with hatch-vcs.
1 parent ab4b849 commit d731976

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ jobs:
132132
tags: mozillasecurity/fuzzmanager:latest
133133
outputs: type=docker,dest=${{ runner.temp }}/fuzzmanager.tar
134134
build-args: |
135-
SETUPTOOLS_SCM_PRETEND_VERSION_FOR_FuzzManager=${{ steps.scm_version.outputs.scm_version }}
135+
SETUPTOOLS_SCM_PRETEND_VERSION=${{ steps.scm_version.outputs.scm_version }}
136136
137137
- name: Upload artifact
138138
uses: actions/upload-artifact@v5

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ RUN npm run production
1010

1111
FROM python:3.11-alpine
1212

13-
ARG SETUPTOOLS_SCM_PRETEND_VERSION_FOR_FuzzManager
14-
ENV SETUPTOOLS_SCM_PRETEND_VERSION_FOR_FuzzManager=$SETUPTOOLS_SCM_PRETEND_VERSION_FOR_FuzzManager
13+
ARG SETUPTOOLS_SCM_PRETEND_VERSION
14+
ENV SETUPTOOLS_SCM_PRETEND_VERSION=$SETUPTOOLS_SCM_PRETEND_VERSION
1515

1616
# Install system dependencies
1717
RUN adduser -D worker && \

0 commit comments

Comments
 (0)