Skip to content

Commit

Permalink
build: Disable automatic Docker image build
Browse files Browse the repository at this point in the history
...due to a problem with next-auth library not passing NEXTAUTH_URL in CI.
  • Loading branch information
bprusinowski committed Oct 17, 2023
1 parent ca5a1d4 commit b045c1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/docker-build-dev.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
name: Docker Build (Dev)

on:
push:
branches:
- main
on: [workflow_dispatch]

jobs:
docker-build:
runs-on: ubuntu-latest
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 }}
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/docker-build-release.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
name: Docker Build (Release)

on:
push:
tags:
- v*
on: [workflow_dispatch]

jobs:
docker-build:
runs-on: ubuntu-latest
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 }}
Expand Down

0 comments on commit b045c1b

Please sign in to comment.