From b045c1bb2af6dde89d0f5538deb09c183d833836 Mon Sep 17 00:00:00 2001 From: Bartosz Prusinowski Date: Tue, 17 Oct 2023 13:59:26 +0200 Subject: [PATCH] build: Disable automatic Docker image build ...due to a problem with next-auth library not passing NEXTAUTH_URL in CI. --- .github/workflows/docker-build-dev.yml | 7 +------ .github/workflows/docker-build-release.yml | 7 +------ 2 files changed, 2 insertions(+), 12 deletions(-) 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 }}