diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index bb253fc..b021d59 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -6,30 +6,31 @@ on: - master env: - REGISTRY_NAME: container.localdomain:5000 + REGISTRY_NAME: container.localdomain jobs: build: + if: "contains(github.event.head_commit.message, 'CI') != true" + runs-on: docker - container: - image: catthehacker/ubuntu:act-22.04 steps: - uses: RouxAntoine/checkout@v4.1.8 + with: + fetch-depth: 0 + fetch-tags: false - name: Set up QEMU uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3.3.0 + uses: docker/setup-buildx-action@v3.6.1 with: config-inline: | [registry."${{ env.REGISTRY_NAME }}"] - http = true + insecure = true - name: Build and push uses: docker/build-push-action@v6 - env: - ACTIONS_RUNTIME_TOKEN: '' # See https://gitea.com/gitea/act_runner/issues/119 with: context: . push: true @@ -38,3 +39,10 @@ jobs: linux/arm/v6 linux/amd64 linux/arm64 + + - uses: RouxAntoine/auto-changie@v1.0.1 + + - name: Push changelog + uses: stefanzweifel/git-auto-commit-action@v5 + with: + commit_message: "CI: Push updated changelog"