Skip to content

Wallos: Open-source, self-hostable personal subscription tracker. Visualize your recurring expenses, manage your budget, and save money.

ci: don't attempt registry login on pull_request builds (#1202)

thorstenhornung1d546a4d12d52
diff --git a/.github/workflows/build-release.yaml b/.github/workflows/build-release.yaml
index 30cfd83..9b7e9e2 100644
--- a/.github/workflows/build-release.yaml
+++ b/.github/workflows/build-release.yaml
@@ -66,12 +66,14 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Log into registry ${{ env.REGISTRY }}
+ if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ env.REGISTRY_USERNAME }}
password: ${{ env.REGISTRY_PASSWORD }}
- name: Login to GitHub Container Registry
+ if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
registry: ghcr.io