Module: kamailio
Branch: master
Commit: d2d17049b5e82b497c44b6b4a2a461917eaed4bb
URL:
https://github.com/kamailio/kamailio/commit/d2d17049b5e82b497c44b6b4a2a4619…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2023-10-03T08:45:56+02:00
github: move login to ghcr.io on top [skip ci]
---
Modified: .github/workflows/alpine.yml
---
Diff:
https://github.com/kamailio/kamailio/commit/d2d17049b5e82b497c44b6b4a2a4619…
Patch:
https://github.com/kamailio/kamailio/commit/d2d17049b5e82b497c44b6b4a2a4619…
---
diff --git a/.github/workflows/alpine.yml b/.github/workflows/alpine.yml
index afddd299f74..33f4dc08884 100644
--- a/.github/workflows/alpine.yml
+++ b/.github/workflows/alpine.yml
@@ -31,6 +31,14 @@ jobs:
if: ${{ github.event_name == 'schedule' }}
run: test -z "$(git rev-list --after='24 hours' ${{ github.sha
}})" && echo "should_run=false" >> $GITHUB_OUTPUT || echo
"should_run=true" >> $GITHUB_OUTPUT
+ - name: Login to GitHub Container Registry
+ if: ${{ steps.should_run.outputs.should_run != 'false' }}
+ uses: docker/login-action@v3
+ with:
+ registry: ghcr.io
+ username: ${{ github.repository_owner }}
+ password: ${{ secrets.GITHUB_TOKEN }}
+
- name: Compile Kamailio source
if: ${{ steps.should_run.outputs.should_run != 'false' }}
run: |
@@ -93,14 +101,6 @@ jobs:
suffix=-debug
latest=false
- - name: Login to GitHub Container Registry
- if: ${{ steps.should_run.outputs.should_run != 'false' }}
- uses: docker/login-action@v3
- with:
- registry: ghcr.io
- username: ${{ github.repository_owner }}
- password: ${{ secrets.GITHUB_TOKEN }}
-
- name: temporal workarround for "-alpine" and "-debug" builds
if: ${{ steps.should_run.outputs.should_run != 'false' }}
run: |