parent
033637ab8e
commit
0d7c2bb9b8
10
.github/workflows/osrm-backend.yml
vendored
10
.github/workflows/osrm-backend.yml
vendored
@ -48,16 +48,6 @@ jobs:
|
|||||||
node ./scripts/validate_changelog.js
|
node ./scripts/validate_changelog.js
|
||||||
npm run docs && ./scripts/error_on_dirty.sh
|
npm run docs && ./scripts/error_on_dirty.sh
|
||||||
|
|
||||||
docker-image:
|
|
||||||
needs: format-taginfo-docs
|
|
||||||
runs-on: ubuntu-22.04
|
|
||||||
steps:
|
|
||||||
- name: Check out the repo
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
- name: Docker build
|
|
||||||
run: |
|
|
||||||
docker build -f docker/Dockerfile .
|
|
||||||
|
|
||||||
build-test-publish:
|
build-test-publish:
|
||||||
needs: format-taginfo-docs
|
needs: format-taginfo-docs
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
@ -10,8 +10,7 @@ RUN apt-get update && \
|
|||||||
COPY . /src
|
COPY . /src
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
|
||||||
RUN NPROC=${BUILD_CONCURRENCY:-$(grep -c ^processor /proc/cpuinfo 2>/dev/null || 1)} && \
|
RUN NPROC=${BUILD_CONCURRENCY:-$(grep -c ^processor /proc/cpuinfo 2>/dev/null || 1)} echo "Building OSRM ${DOCKER_TAG}" && \
|
||||||
echo "Building OSRM ${DOCKER_TAG}" && \
|
|
||||||
git show --format="%H" | head -n1 > /opt/OSRM_GITSHA && \
|
git show --format="%H" | head -n1 > /opt/OSRM_GITSHA && \
|
||||||
echo "Building OSRM gitsha $(cat /opt/OSRM_GITSHA)" && \
|
echo "Building OSRM gitsha $(cat /opt/OSRM_GITSHA)" && \
|
||||||
mkdir -p build && \
|
mkdir -p build && \
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user