multiline not properly working

This commit is contained in:
Ulf Gebhardt 2021-04-17 12:51:44 +02:00
parent d354f9630a
commit 31aff904f8
No known key found for this signature in database
GPG Key ID: 81308EFE29ABFEBD

View File

@ -56,16 +56,7 @@ jobs:
##########################################################################
- 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 BUILD_DATE=$BUILD_ DATE \
--build-arg BUILD_VERSION=$BUILD_VERSION \
--build-arg BUILD_COMMIT=$BUILD_COMMIT \
neo4j/
docker build --target community -t "ocelotsocialnetwork/neo4j:latest" -t "ocelotsocialnetwork/neo4j:community" -t "ocelotsocialnetwork/neo4j:${VERSION}" -t "ocelotsocialnetwork/neo4j:${BUILD_VERSION}" --build-arg BUILD_DATE=$BUILD_ DATE --build-arg BUILD_VERSION=$BUILD_VERSION --build-arg BUILD_COMMIT=$BUILD_COMMIT neo4j/
docker save "ocelotsocialnetwork/neo4j" > /tmp/neo4j.tar
- name: Upload Artifact
uses: actions/upload-artifact@v2
@ -102,15 +93,7 @@ jobs:
##########################################################################
- 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 BUILD_DATE=$BUILD_ DATE \
--build-arg BUILD_VERSION=$BUILD_VERSION \
--build-arg BUILD_COMMIT=$BUILD_COMMIT \
backend/
docker build --target production -t "ocelotsocialnetwork/backend:latest" -t "ocelotsocialnetwork/backend:${VERSION}" -t "ocelotsocialnetwork/backend:${BUILD_VERSION}" --build-arg BUILD_DATE=$BUILD_ DATE --build-arg BUILD_VERSION=$BUILD_VERSION --build-arg BUILD_COMMIT=$BUILD_COMMIT backend/
docker save "ocelotsocialnetwork/backend" > /tmp/backend.tar
- name: Upload Artifact
uses: actions/upload-artifact@v2
@ -147,15 +130,7 @@ jobs:
##########################################################################
- 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 BUILD_DATE=$BUILD_ DATE \
--build-arg BUILD_VERSION=$BUILD_VERSION \
--build-arg BUILD_COMMIT=$BUILD_COMMIT \
webapp/
docker build --target production -t "ocelotsocialnetwork/webapp:latest" -t "ocelotsocialnetwork/webapp:${VERSION}" -t "ocelotsocialnetwork/webapp:${BUILD_VERSION}" --build-arg BUILD_DATE=$BUILD_ DATE --build-arg BUILD_VERSION=$BUILD_VERSION --build-arg BUILD_COMMIT=$BUILD_COMMIT webapp/
docker save "ocelotsocialnetwork/webapp" > /tmp/webapp.tar
- name: Upload Artifact
uses: actions/upload-artifact@v2
@ -193,14 +168,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 BUILD_DATE=$BUILD_ DATE \
--build-arg BUILD_VERSION=$BUILD_VERSION \
--build-arg BUILD_COMMIT=$BUILD_COMMIT \
webapp/ -f webapp/Dockerfile.maintenance
docker build -t "ocelotsocialnetwork/maintenance:latest" -t "ocelotsocialnetwork/maintenance:${VERSION}" -t "ocelotsocialnetwork/maintenance:${BUILD_VERSION}" --build-arg BUILD_DATE=$BUILD_ DATE --build-arg BUILD_VERSION=$BUILD_VERSION --build-arg BUILD_COMMIT=$BUILD_COMMIT webapp/ -f webapp/Dockerfile.maintenance
docker save "ocelotsocialnetwork/maintenance" > /tmp/maintenance.tar
- name: Upload Artifact
uses: actions/upload-artifact@v2