multi line simply doesnt work

This commit is contained in:
Ulf Gebhardt 2021-04-17 13:21:24 +02:00
parent 79beb840c5
commit 5dc844b431
No known key found for this signature in database
GPG Key ID: 81308EFE29ABFEBD

View File

@ -55,17 +55,7 @@ jobs:
# NEO4J ##################################################################
##########################################################################
- name: Neo4J | Build `community` image
run: >
docker build
--target community
-t "ocelotsocialnetwork/neo4j:latest"
-t "ocelotsocialnetwork/neo4j:community"
-t "ocelotsocialnetwork/neo4j:${VERSION}"
-t "ocelotsocialnetwork/neo4j:${BUILD_VERSION}"
--build-arg BBUILD_DATE=$BUILD_DATE
--build-arg BBUILD_VERSION=$BUILD_VERSION
--build-arg BBUILD_COMMIT=$BUILD_COMMIT
neo4j/
run: docker build --target community -t "ocelotsocialnetwork/neo4j:latest" -t "ocelotsocialnetwork/neo4j:community" -t "ocelotsocialnetwork/neo4j:${VERSION}" -t "ocelotsocialnetwork/neo4j:${BUILD_VERSION}" --build-arg BBUILD_DATE=$BUILD_DATE --build-arg BBUILD_VERSION=$BUILD_VERSION --build-arg BBUILD_COMMIT=$BUILD_COMMIT neo4j/
- name: Neo4J | Save docker image
run: docker save "ocelotsocialnetwork/neo4j" > /tmp/neo4j.tar
- name: Upload Artifact
@ -102,16 +92,7 @@ jobs:
# BUILD BACKEND DOCKER IMAGE (production) ################################
##########################################################################
- name: Backend | Build `production` image
run: >
docker build
--target production
-t "ocelotsocialnetwork/backend:latest"
-t "ocelotsocialnetwork/backend:${VERSION}"
-t "ocelotsocialnetwork/backend:${BUILD_VERSION}"
--build-arg BBUILD_DATE=$BUILD_DATE
--build-arg BBUILD_VERSION=$BUILD_VERSION
--build-arg BBUILD_COMMIT=$BUILD_COMMIT
backend/
run: docker build --target production -t "ocelotsocialnetwork/backend:latest" -t "ocelotsocialnetwork/backend:${VERSION}" -t "ocelotsocialnetwork/backend:${BUILD_VERSION}" --build-arg BBUILD_DATE=$BUILD_DATE --build-arg BBUILD_VERSION=$BUILD_VERSION --build-arg BBUILD_COMMIT=$BUILD_COMMIT backend/
- name: Backend | Save docker image
run: docker save "ocelotsocialnetwork/backend" > /tmp/backend.tar
- name: Upload Artifact
@ -148,16 +129,7 @@ jobs:
# BUILD WEBAPP DOCKER IMAGE (build) ######################################
##########################################################################
- name: Webapp | Build `production` image
run: >
docker build
--target production
-t "ocelotsocialnetwork/webapp:latest"
-t "ocelotsocialnetwork/webapp:${VERSION}"
-t "ocelotsocialnetwork/webapp:${BUILD_VERSION}"
--build-arg BBUILD_DATE=$BUILD_DATE
--build-arg BBUILD_VERSION=$BUILD_VERSION
--build-arg BBUILD_COMMIT=$BUILD_COMMIT
webapp/
run: docker build --target production -t "ocelotsocialnetwork/webapp:latest" -t "ocelotsocialnetwork/webapp:${VERSION}" -t "ocelotsocialnetwork/webapp:${BUILD_VERSION}" --build-arg BBUILD_DATE=$BUILD_DATE --build-arg BBUILD_VERSION=$BUILD_VERSION --build-arg BBUILD_COMMIT=$BUILD_COMMIT webapp/
- name: Webapp | Save docker image
run: docker save "ocelotsocialnetwork/webapp" > /tmp/webapp.tar
- name: Upload Artifact
@ -195,15 +167,7 @@ jobs:
##########################################################################
- name: Maintenance | Build `production` image
# TODO: --target production
run: >
docker build
-t "ocelotsocialnetwork/maintenance:latest"
-t "ocelotsocialnetwork/maintenance:${VERSION}"
-t "ocelotsocialnetwork/maintenance:${BUILD_VERSION}"
--build-arg BBUILD_DATE=$BUILD_DATE
--build-arg BBUILD_VERSION=$BUILD_VERSION
--build-arg BBUILD_COMMIT=$BUILD_COMMIT webapp/
-f webapp/Dockerfile.maintenance
run: docker build -t "ocelotsocialnetwork/maintenance:latest" -t "ocelotsocialnetwork/maintenance:${VERSION}" -t "ocelotsocialnetwork/maintenance:${BUILD_VERSION}" --build-arg BBUILD_DATE=$BUILD_DATE --build-arg BBUILD_VERSION=$BUILD_VERSION --build-arg BBUILD_COMMIT=$BUILD_COMMIT webapp/ -f webapp/Dockerfile.maintenance
- name: Maintenance | Save docker image
run: docker save "ocelotsocialnetwork/maintenance" > /tmp/maintenance.tar
- name: Upload Artifact