mirror of
https://github.com/gilbN/theme.park.git
synced 2024-10-02 13:37:21 +02:00
deploy: ab8164255b
This commit is contained in:
parent
4848e6cb56
commit
2eb0ee5579
8
.github/workflows/docker-build.yml
vendored
8
.github/workflows/docker-build.yml
vendored
@ -29,12 +29,12 @@ jobs:
|
||||
- name: build&push master
|
||||
if: ${{ github.event.release.target_commitish == 'live' }}
|
||||
run: |
|
||||
docker build --build-arg TP_RELEASE=${{ steps.get_version.outputs.VERSION }} --build-arg BUILD_DATE=${{ steps.date_time.outputs.NOW }} --tag ghcr.io/gilbn/theme.park --tag ghcr.io/gilbn/theme.park:${{ steps.get_version.outputs.VERSION }}
|
||||
docker build --build-arg TP_RELEASE=${{ steps.get_version.outputs.VERSION }} --build-arg BUILD_DATE=${{ steps.date_time.outputs.NOW }} --tag ghcr.io/gilbn/theme.park --tag ghcr.io/gilbn/theme.park:${{ steps.get_version.outputs.VERSION }} .
|
||||
docker push ghcr.io/gilbn/theme.park
|
||||
- name: build&push develop
|
||||
if: ${{ github.ref == 'refs/heads/develop' }}
|
||||
run: |
|
||||
docker build --build-arg TP_RELEASE=${{ steps.get_version.outputs.VERSION }} --build-arg BUILD_DATE=${{ steps.date_time.outputs.NOW }} --tag ghcr.io/gilbn/theme.park:develop }}
|
||||
docker build --build-arg TP_RELEASE=${{ steps.get_version.outputs.VERSION }} --build-arg BUILD_DATE=${{ steps.date_time.outputs.NOW }} --tag ghcr.io/gilbn/theme.park:develop .
|
||||
docker push --all-tags ghcr.io/gilbn/theme.park
|
||||
push_to_dockerhub:
|
||||
runs-on: ubuntu-latest
|
||||
@ -57,11 +57,11 @@ jobs:
|
||||
- name: build&push dh master
|
||||
if: ${{ github.event.release.target_commitish == 'live' }}
|
||||
run: |
|
||||
docker build --build-arg TP_RELEASE=${{ steps.get_version.outputs.VERSION }} --build-arg BUILD_DATE=${{ steps.date_time.outputs.NOW }} --tag ghcr.io/gilbn/theme.park --tag gilbn/theme.park:${{ steps.get_version.outputs.VERSION }}
|
||||
docker build --build-arg TP_RELEASE=${{ steps.get_version.outputs.VERSION }} --build-arg BUILD_DATE=${{ steps.date_time.outputs.NOW }} --tag ghcr.io/gilbn/theme.park --tag gilbn/theme.park:${{ steps.get_version.outputs.VERSION }} .
|
||||
docker push gilbn/theme.park
|
||||
- name: build&push dh develop
|
||||
if: ${{ github.ref == 'refs/heads/develop' }}
|
||||
run: |
|
||||
docker build --build-arg TP_RELEASE=${{ steps.get_version.outputs.VERSION }} --build-arg BUILD_DATE=${{ steps.date_time.outputs.NOW }} --tag gilbn/theme.park:develop --tag }}
|
||||
docker build --build-arg TP_RELEASE=${{ steps.get_version.outputs.VERSION }} --build-arg BUILD_DATE=${{ steps.date_time.outputs.NOW }} --tag gilbn/theme.park:develop .
|
||||
docker push --all-tags gilbn/theme.park
|
||||
|
||||
|
@ -18,6 +18,6 @@ apk add --no-cache --virtual=build-dependencies \
|
||||
WORKDIR /app
|
||||
COPY css/ /app/themepark/css/
|
||||
COPY resources/ /app/themepark/resources/
|
||||
COPY themes.py index.html /app/themepark/
|
||||
COPY themes.py index.html CNAME /app/themepark/
|
||||
|
||||
COPY docker/root/ /
|
@ -31,6 +31,7 @@ cp -R /app/themepark/css /config/www
|
||||
cp -R /app/themepark/resources /config/www
|
||||
cp /app/themepark/index.html /config/www
|
||||
cp /app/themepark/themes.py /config/www
|
||||
cp /app/themepark/CNAME /config/www
|
||||
|
||||
# permissions
|
||||
chown -R abc:abc \
|
||||
|
Loading…
Reference in New Issue
Block a user