apparently cant docker run and mount so lets try this
cicd / cicd (push) Failing after 13s
Details
cicd / cicd (push) Failing after 13s
Details
parent
6bdeb5c2d4
commit
9e28fc0499
|
|
@ -15,12 +15,17 @@ jobs:
|
|||
uses: actions/checkout@v3
|
||||
- name: cicd
|
||||
run: |
|
||||
docker run \
|
||||
--rm \
|
||||
-i \
|
||||
-v "$(realpath "$PWD")":/mnt \
|
||||
-w /mnt \
|
||||
-e FIREBASE_CI_TOKEN='${{ secrets.FIREBASE_CI_TOKEN }}' \
|
||||
-e GITLAB_PAT='${{ secrets.GITLAB_PAT }}' \
|
||||
registry-app.inhome.blapointe.com:5001/portfolio/resume/builder:latest \
|
||||
bash ./build/firebase.sh
|
||||
f=$(mktemp)
|
||||
echo "FIREBASE_CI_TOKEN='${{ secrets.FIREBASE_CI_TOKEN }}'" >> ./.env
|
||||
echo "GITLAB_PAT='${{ secrets.GITLAB_PAT }}'" >> ./.env
|
||||
echo '
|
||||
FROM registry-app.inhome.blapointe.com:5001/portfolio/resume/builder:latest
|
||||
WORKDIR /mnt
|
||||
COPY ./ /mnt/
|
||||
RUN source ./.env
|
||||
RUN bash ./build/firebase.sh
|
||||
' | sed 's/^ *//' > $f
|
||||
docker build -f $f -t resume-build:resume-build .
|
||||
result=$?
|
||||
docker rmi resume-build:resume-build || true
|
||||
exit $?
|
||||
|
|
|
|||
|
|
@ -64,3 +64,4 @@ resume:
|
|||
- 'Platforms: Docker, Hashicorp, Linux/Unix, AWS, REST, Microservices, Git'
|
||||
- 'Datastores: MongoDB, Redis, S3, Couchbase, DynamoDB'
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue