diff --git a/.github/workflows/static-analyzers-aggregator-geodesic-test.yaml b/.github/workflows/static-analyzers-aggregator-geodesic-test.yaml index 37af458a..c04b7eb6 100644 --- a/.github/workflows/static-analyzers-aggregator-geodesic-test.yaml +++ b/.github/workflows/static-analyzers-aggregator-geodesic-test.yaml @@ -11,12 +11,12 @@ jobs: name: Static analysis geodesic test runs-on: ubuntu-latest container: - image: mtweeman/hajle-silesia_provisioning-ld:latest + image: mtweeman/hajle-silesia_provisioning-ld:sha-2387ca9 -# defaults: -# run: -# shell: -# bash + defaults: + run: + shell: + bash --norc -e -o pipefail {0} steps: - name: Checkout @@ -24,13 +24,5 @@ jobs: - name: Commands run: | echo "PATH: ${PATH}" - for path in $(mise bin-paths); do - export PATH="${path}:${PATH}" - done git config --global --add safe.directory $GITHUB_WORKSPACE pre-commit run --all-files --hook-stage manual -# - run: | -# docker run --rm mtweeman/hajle-silesia_provisioning-ld:latest init | bash -# /usr/local/bin/hajle-silesia_provisioning-ld -# cd / -# . conf/.profile diff --git a/Dockerfile b/Dockerfile index 249e49d2..75919f62 100755 --- a/Dockerfile +++ b/Dockerfile @@ -19,12 +19,9 @@ ENV DOCKER_TAG="latest" ARG MISE_VERSION ARG MISE_INSTALL_PATH="/usr/local/bin/mise" RUN curl https://mise.run | MISE_INSTALL_PATH="${MISE_INSTALL_PATH}" MISE_VERSION="${MISE_VERSION}" sh -RUN echo "eval \"\$(${MISE_INSTALL_PATH} activate bash)\"" >> ~/.profile +#RUN echo "eval \"\$(${MISE_INSTALL_PATH} activate bash)\"" >> ~/.profile +RUN mise activate bash --shims >> ~/.profile # source: https://mise.jdx.dev/configuration.html#system-config-etc-mise-config-toml COPY .mise.toml /etc/mise/config.toml # source: https://mise.jdx.dev/cli/install.html RUN mise install --yes -SHELL ["/bin/bash", "-c"] -RUN . /conf/.profile && echo "${PATH}" -RUN eval "$(${MISE_INSTALL_PATH} activate bash)" && echo "${PATH}" -ENV PATH="${PATH}"