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