fix: correct variable usage in git checkout command
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 1m1s
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 1m1s
This commit is contained in:
@@ -46,7 +46,7 @@ WORKDIR /app
|
|||||||
# Clone pa11y-dashboard repository
|
# Clone pa11y-dashboard repository
|
||||||
ARG PA11Y_VERSION=4.2.0
|
ARG PA11Y_VERSION=4.2.0
|
||||||
RUN git clone https://github.com/pa11y/pa11y-dashboard.git . && \
|
RUN git clone https://github.com/pa11y/pa11y-dashboard.git . && \
|
||||||
git checkout v${PA11Y_VERSION}
|
git checkout ${PA11Y_VERSION}
|
||||||
|
|
||||||
# Install dependencies and build
|
# Install dependencies and build
|
||||||
RUN npm ci --only=production && \
|
RUN npm ci --only=production && \
|
||||||
|
Reference in New Issue
Block a user