update options
This commit is contained in:
@@ -5,7 +5,7 @@ name: Build and push image to DockerHub
|
|||||||
# Controls when the workflow will run
|
# Controls when the workflow will run
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
# branches: [main]
|
||||||
# update on run of Update Calendso nightly submodule update
|
# update on run of Update Calendso nightly submodule update
|
||||||
workflow_run:
|
workflow_run:
|
||||||
workflows: ["Update Calendso"]
|
workflows: ["Update Calendso"]
|
||||||
@@ -41,8 +41,6 @@ jobs:
|
|||||||
git submodule update --init
|
git submodule update --init
|
||||||
|
|
||||||
- name: Docker Login
|
- name: Docker Login
|
||||||
# You may pin to the exact commit or the version.
|
|
||||||
# uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
|
|
||||||
uses: docker/login-action@v1.10.0
|
uses: docker/login-action@v1.10.0
|
||||||
with:
|
with:
|
||||||
# Username used to log against the Docker registry
|
# Username used to log against the Docker registry
|
||||||
@@ -80,8 +78,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
context: ./
|
context: ./
|
||||||
file: ./Dockerfile
|
file: ./Dockerfile
|
||||||
push: true
|
push: false
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64
|
||||||
tags: docker.io/${{ secrets.DOCKER_HUB_USERNAME }}/calendso:latest
|
tags: docker.io/${{ secrets.DOCKER_HUB_USERNAME }}/calendso:latest
|
||||||
build-args: |
|
build-args: |
|
||||||
NEXT_PUBLIC_WEBAPP_URL=${{ env.NEXT_PUBLIC_WEBAPP_URL }}
|
NEXT_PUBLIC_WEBAPP_URL=${{ env.NEXT_PUBLIC_WEBAPP_URL }}
|
||||||
|
|||||||
Reference in New Issue
Block a user