-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
6 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,6 +37,7 @@ jobs: | |
run: yarn run build | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.github_token }} | ||
build_args: BASE=/admin | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: buildfiles | ||
|
@@ -68,6 +69,7 @@ jobs: | |
uses: actions/download-artifact@v2 | ||
with: | ||
name: buildfiles | ||
path: build | ||
- name: Get current time | ||
id: time | ||
uses: nanzm/[email protected] | ||
|
@@ -119,14 +121,14 @@ jobs: | |
push: true | ||
tags: ${{ steps.meta.outputs.tags }} | ||
labels: ${{ steps.meta.outputs.labels }} | ||
- name: Hint about the Docker Image Tag if successfull | ||
- name: Hint about the Docker Image Tag if successful | ||
if: ${{ success() }} | ||
run: | | ||
echo "### Publish Docker image :white_check_mark:" >> $GITHUB_STEP_SUMMARY | ||
echo "" >> $GITHUB_STEP_SUMMARY | ||
echo "- Image name: ${{ env.DOCKER_IMAGE }}" >> $GITHUB_STEP_SUMMARY | ||
echo "- Version: ${{ env.DOCKER_IMAGE_TAG }}" >> $GITHUB_STEP_SUMMARY | ||
- name: Hint about the Docker Image Tag if not successfull | ||
- name: Hint about the Docker Image Tag if not successful | ||
if: ${{ failure() || cancelled() }} | ||
run: | | ||
echo "### Publish Docker image :x:" >> $GITHUB_STEP_SUMMARY | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,4 @@ | ||
ARG DOCKER_MATRIX=ghcr.io | ||
FROM $DOCKER_MATRIX/onlineberatung/onlineberatung-nginx/onlineberatung-nginx:dockerimage.v.004-main | ||
COPY favicon.ico /usr/share/nginx/html/admin/ | ||
COPY index.html /usr/share/nginx/html/admin/ | ||
COPY robots.txt /usr/share/nginx/html/admin/ | ||
COPY src /usr/share/nginx/html/admin/src | ||
COPY static /usr/share/nginx/html/admin/static | ||
COPY fonts /usr/share/nginx/html/admin/fonts | ||
COPY build /usr/share/nginx/html/admin | ||
COPY nginx.conf /etc/nginx/conf.d/default.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters