diff --git a/.github/workflows/docker-build-dev.yml b/.github/workflows/docker-build-dev.yml index a0d4b2db3..2bab3b29e 100644 --- a/.github/workflows/docker-build-dev.yml +++ b/.github/workflows/docker-build-dev.yml @@ -1,9 +1,6 @@ name: Docker Build (Dev) -on: - push: - branches: - - main +on: [workflow_dispatch] jobs: docker-build: @@ -11,8 +8,6 @@ jobs: steps: - uses: actions/checkout@v2 - uses: docker/build-push-action@v1 - env: - NEXTAUTH_URL: ${{ secrets.NEXTAUTH_URL }} with: registry: docker.pkg.github.com username: ${{ github.actor }} diff --git a/.github/workflows/docker-build-release.yml b/.github/workflows/docker-build-release.yml index 7d15af122..b1f7f101e 100644 --- a/.github/workflows/docker-build-release.yml +++ b/.github/workflows/docker-build-release.yml @@ -1,9 +1,6 @@ name: Docker Build (Release) -on: - push: - tags: - - v* +on: [workflow_dispatch] jobs: docker-build: @@ -11,8 +8,6 @@ jobs: steps: - uses: actions/checkout@v2 - uses: docker/build-push-action@v1 - env: - NEXTAUTH_URL: ${{ secrets.NEXTAUTH_URL }} with: registry: docker.pkg.github.com username: ${{ github.actor }}