This commit is contained in:
parent
9b175aad08
commit
4d2ffc3bbd
24
.github/workflows/main.yaml
vendored
24
.github/workflows/main.yaml
vendored
@ -3,19 +3,24 @@ name: Main
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
|
||||||
- master
|
- master
|
||||||
|
|
||||||
env:
|
env:
|
||||||
REGISTRY_NAME: container.localdomain:5000
|
REGISTRY_NAME: container.localdomain
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
if: "contains(github.event.head_commit.message, vars.SKIP_CI_PREFIX) != true"
|
||||||
|
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: catthehacker/ubuntu:act-22.04
|
image: catthehacker/ubuntu:act-22.04
|
||||||
steps:
|
steps:
|
||||||
- uses: RouxAntoine/checkout@v4.1.8
|
- name: Checkout repository
|
||||||
|
uses: https://antoine-roux.tk/projects/actions/checkout@v4.1.8
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
fetch-tags: false
|
||||||
|
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v3
|
uses: docker/setup-qemu-action@v3
|
||||||
@ -25,15 +30,22 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
config-inline: |
|
config-inline: |
|
||||||
[registry."${{ env.REGISTRY_NAME }}"]
|
[registry."${{ env.REGISTRY_NAME }}"]
|
||||||
http = true
|
insecure = true
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
env:
|
|
||||||
ACTIONS_RUNTIME_TOKEN: '' # See https://gitea.com/gitea/act_runner/issues/119
|
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ env.REGISTRY_NAME }}/dnscrypt-proxy:latest
|
tags: ${{ env.REGISTRY_NAME }}/dnscrypt-proxy:latest
|
||||||
platforms: |
|
platforms: |
|
||||||
linux/arm/v6
|
linux/arm/v6
|
||||||
|
|
||||||
|
- name: Auto generate changelog
|
||||||
|
uses: https://antoine-roux.tk/projects/actions/auto-changie@v1.0.1
|
||||||
|
|
||||||
|
- name: Push changelog
|
||||||
|
uses: stefanzweifel/git-auto-commit-action@v5
|
||||||
|
with:
|
||||||
|
commit_message: "${{ vars.SKIP_CI_PREFIX }} Push updated changelog"
|
||||||
|
file_pattern: "\\.changes/* CHANGELOG.md"
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
"dependencyDashboard": true
|
"dependencyDashboard": true,
|
||||||
|
"extends": [
|
||||||
|
"local>config/renovate-config"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user