Added welcome form and redirect, as well as docker autobuilds

This commit is contained in:
frikky
2022-07-21 23:32:03 +02:00
parent 2f90b743bf
commit 285bf7d2d2
6 changed files with 773 additions and 7 deletions
+18 -5
View File
@@ -52,9 +52,8 @@ jobs:
# registry: ghcr.io
# username: ${{ github.repository_owner }}
# password: ${{ secrets.CR_PAT }}
-
name: Build and push
id: docker_build
- name: Dockerhub Build and push
id: docker_build_dockerhub
uses: docker/build-push-action@v2
env:
BUILDX_NO_DEFAULT_LOAD: true
@@ -65,6 +64,20 @@ jobs:
#,linux/386 - no node image I guess?
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/${{ matrix.app }}:${{ matrix.version }}
-
name: Image digest
- name: Ghcr Build and push
id: docker_build
uses: docker/build-push-action@v2
env:
BUILDX_NO_DEFAULT_LOAD: true
with:
registry: ghcr.io
username: "frikky"
password: ${{ secrets.GHCR_PW }}
context: ${{ matrix.path }}/
file: ${{ matrix.path }}/Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/${{ matrix.app }}:${{ matrix.version }}
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
@@ -43,6 +43,7 @@ jobs:
with:
image: your/image-to-test
args: --file=Dockerfile
- name: Upload result to GitHub Code Scanning
uses: github/codeql-action/upload-sarif@v1
with: