mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
multiline not properly working
This commit is contained in:
parent
d354f9630a
commit
31aff904f8
40
.github/workflows/publish.yml
vendored
40
.github/workflows/publish.yml
vendored
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user