mirror of
https://github.com/makayabou/asg-server.git
synced 2026-05-02 17:43:36 +02:00
[actions] disable build for dependabot
This commit is contained in:
parent
747edc8f9c
commit
3506b9cdf1
5
.github/workflows/docker-build.yml
vendored
5
.github/workflows/docker-build.yml
vendored
@ -47,14 +47,12 @@ jobs:
|
||||
|
||||
- name: Log into Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
if: github.actor != 'dependabot[bot]'
|
||||
with:
|
||||
username: ${{ secrets.username }}
|
||||
password: ${{ secrets.password }}
|
||||
|
||||
- name: Login to Container registry
|
||||
uses: docker/login-action@v3
|
||||
if: github.actor != 'dependabot[bot]'
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
@ -81,7 +79,6 @@ jobs:
|
||||
APP=${{ inputs.app-name }}
|
||||
APP_VERSION=${{ env.APP_VERSION }}
|
||||
APP_RELEASE_ID=${{ env.APP_RELEASE }}
|
||||
push: ${{ github.actor != 'dependabot[bot]' }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
outputs: type=image,"name=${{ env.DOCKERHUB_REPO }},${{ env.GHCR_REPO }}",push-by-digest=true,name-canonical=true,push=true
|
||||
|
||||
@ -116,14 +113,12 @@ jobs:
|
||||
|
||||
- name: Log into Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
if: github.actor != 'dependabot[bot]'
|
||||
with:
|
||||
username: ${{ secrets.username }}
|
||||
password: ${{ secrets.password }}
|
||||
|
||||
- name: Login to Container registry
|
||||
uses: docker/login-action@v3
|
||||
if: github.actor != 'dependabot[bot]'
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
|
||||
1
.github/workflows/docker-publish.yml
vendored
1
.github/workflows/docker-publish.yml
vendored
@ -63,6 +63,7 @@ jobs:
|
||||
needs:
|
||||
- test
|
||||
- e2e
|
||||
if: github.actor != 'dependabot[bot]'
|
||||
uses: ./.github/workflows/docker-build.yml
|
||||
with:
|
||||
app-name: sms-gateway
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user