mirror of
https://github.com/notherealmarco/coredns-deployment.git
synced 2025-05-05 12:32:34 +02:00
Update build-debian.yml
Some checks failed
Build Debian package / build-and-push-image (push) Failing after 9s
Some checks failed
Build Debian package / build-and-push-image (push) Failing after 9s
This commit is contained in:
parent
674719fdb7
commit
0d62cd17d3
1 changed files with 8 additions and 7 deletions
|
@ -6,9 +6,10 @@ on:
|
||||||
branches: ['master', 'main']
|
branches: ['master', 'main']
|
||||||
|
|
||||||
# Defines two custom environment variables for the workflow. These are used for the Container registry domain, and a name for the Docker image that this workflow builds.
|
# Defines two custom environment variables for the workflow. These are used for the Container registry domain, and a name for the Docker image that this workflow builds.
|
||||||
# env:
|
env:
|
||||||
# REGISTRY: git.marcorealacci.me
|
DISTRIBUTION: bookworm
|
||||||
# USER: marco-private
|
COMPONENT: main
|
||||||
|
# USER: marco-private
|
||||||
|
|
||||||
# There is a single job in this workflow. It's configured to run on the latest available version of Ubuntu.
|
# There is a single job in this workflow. It's configured to run on the latest available version of Ubuntu.
|
||||||
jobs:
|
jobs:
|
||||||
|
@ -21,11 +22,11 @@ jobs:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Install dependencies
|
||||||
run: apt-get update && apt-get install build-essential
|
run: apt-get update && apt-get install build-essential debhelper
|
||||||
|
|
||||||
- name: Build Debian package
|
- name: Build Debian package
|
||||||
run: dpkg-buildpackage -us -uc -b --target-arch amd64
|
run: dpkg-buildpackage -us -uc -b --target-arch amd64
|
||||||
|
|
||||||
# - name: Call webhook
|
- name: Push to registry
|
||||||
# run: curl -X POST ${{secrets.DEPLOY_WEBHOOK}}
|
run: curl --user ${{ github.actor }}:${{secrets.REGISTRY_TOKEN}} --upload-file $(ls *.deb) https://git.marcorealacci.me/api/packages/packages/debian/pool/${{env.DISTRIBUTION}}/${{env.COMPONENT}}/upload
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue