Compare commits
45 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
c13cd43623
|
|||
|
731baf65f1
|
|||
|
2f0881af98
|
|||
|
475d052b31
|
|||
|
626dbf803e
|
|||
|
a1a6fcfbed
|
|||
|
c249ef51df
|
|||
|
9312eb28e9
|
|||
|
a340954a4e
|
|||
|
0b2ad25ee4
|
|||
|
123b8b494b
|
|||
| 46e47394fd | |||
| b1b059878d | |||
| 43b7e877f2 | |||
| 5992f8bca4 | |||
| 0583034ef9 | |||
|
6fc4f4d23c
|
|||
| 70b8ff43a5 | |||
| 1e4b4827c8 | |||
| 782ffee595 | |||
| ae5f74958b | |||
| ff7f5e2dd3 | |||
| a87bb0ad76 | |||
| 57e2962072 | |||
| d259292165 | |||
| 8200cfeb8a | |||
| b344665d7a | |||
| 67df113caf | |||
| 3176652564 | |||
| 8910a68b17 | |||
| 0de6438aca | |||
| cdca0ef342 | |||
| 552d600dbe | |||
| ea06fc8b7b | |||
| c1bfeeee60 | |||
| f3a7685c42 | |||
| c3e68fd5b0 | |||
| 573bc36ae2 | |||
| 662160f0a4 | |||
| f1a61a407e | |||
| be9b2b2678 | |||
| 50ca837c46 | |||
| 11eb819e02 | |||
| 1f17508eab | |||
| c25cddb32b |
@@ -5,7 +5,7 @@ on:
|
|||||||
- 'develop'
|
- 'develop'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
FULL_TAG: git.mrmeeb.stream/mrmeeb/gitea-act-runner:develop
|
FULL_TAG: git.mrmeeb.stream/mrmeeb/gitea-act-runner
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
"Build Image":
|
"Build Image":
|
||||||
@@ -21,12 +21,20 @@ jobs:
|
|||||||
registry: git.mrmeeb.stream
|
registry: git.mrmeeb.stream
|
||||||
username: ${{ env.GITHUB_ACTOR }}
|
username: ${{ env.GITHUB_ACTOR }}
|
||||||
password: ${{ secrets.GTCR_TOKEN }}
|
password: ${{ secrets.GTCR_TOKEN }}
|
||||||
|
- name: Docker metadata
|
||||||
|
id: meta
|
||||||
|
uses: docker/metadata-action@v5
|
||||||
|
with:
|
||||||
|
images: ${{ env.FULL_TAG }}
|
||||||
|
tags: |
|
||||||
|
type=sha,prefix=develop-
|
||||||
|
type=raw,value=develop
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
tags: ${{ env.FULL_TAG }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
provenance: false
|
provenance: false
|
||||||
- name: Notify on failure
|
- name: Notify on failure
|
||||||
uses: rjstone/discord-webhook-notify@v1
|
uses: rjstone/discord-webhook-notify@v1
|
||||||
|
|||||||
+6
-3
@@ -1,8 +1,8 @@
|
|||||||
FROM golang:1.22-alpine3.18 as builder
|
FROM golang:1.25-alpine3.23 as builder
|
||||||
# Do not remove `git` here, it is required for getting runner version when executing `make build`
|
# Do not remove `git` here, it is required for getting runner version when executing `make build`
|
||||||
RUN apk add --no-cache make git
|
RUN apk add --no-cache make git
|
||||||
|
|
||||||
ARG ACT_VERSION=0.2.10
|
ARG ACT_VERSION=0.2.11
|
||||||
|
|
||||||
RUN git clone --depth 1 --branch v${ACT_VERSION} https://gitea.com/gitea/act_runner /opt/src/act_runner
|
RUN git clone --depth 1 --branch v${ACT_VERSION} https://gitea.com/gitea/act_runner /opt/src/act_runner
|
||||||
|
|
||||||
@@ -10,7 +10,7 @@ WORKDIR /opt/src/act_runner
|
|||||||
|
|
||||||
RUN make clean && make build
|
RUN make clean && make build
|
||||||
|
|
||||||
FROM docker:25.0.5-dind
|
FROM docker:27.5.1-dind
|
||||||
USER root
|
USER root
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
git bash supervisor python3 py3-pip
|
git bash supervisor python3 py3-pip
|
||||||
@@ -28,6 +28,9 @@ RUN chmod +x /healthcheck.sh
|
|||||||
|
|
||||||
ENV DOCKER_PRUNE_INTERVAL="0 0 * * *"
|
ENV DOCKER_PRUNE_INTERVAL="0 0 * * *"
|
||||||
|
|
||||||
|
# Supress tini warning
|
||||||
|
ENV TINI_SUBREAPER=true
|
||||||
|
|
||||||
# Add Crontab for root user
|
# Add Crontab for root user
|
||||||
RUN echo "${DOCKER_PRUNE_INTERVAL} echo Pruning docker volumes && docker volume prune -af" > .crontab.txt && crontab .crontab.txt
|
RUN echo "${DOCKER_PRUNE_INTERVAL} echo Pruning docker volumes && docker volume prune -af" > .crontab.txt && crontab .crontab.txt
|
||||||
|
|
||||||
|
|||||||
+12
-2
@@ -1,10 +1,10 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
"extends": [":automergeMinor", ":automergePr", ":automergeRequireAllStatusChecks", ":dependencyDashboard", ":disableRateLimiting", ":rebaseStalePrs"],
|
"extends": [":automergeMinor", ":automergePr", ":automergeRequireAllStatusChecks", ":dependencyDashboard", ":disableRateLimiting", ":rebaseStalePrs"],
|
||||||
"baseBranches": ["develop"],
|
"baseBranches": ["develop"],
|
||||||
"major": {
|
"major": {
|
||||||
"dependencyDashboardApproval": true
|
"dependencyDashboardApproval": true
|
||||||
},
|
},
|
||||||
|
"minimumReleaseAge": "7 days",
|
||||||
"customManagers": [
|
"customManagers": [
|
||||||
{
|
{
|
||||||
"customType": "regex",
|
"customType": "regex",
|
||||||
@@ -12,7 +12,17 @@
|
|||||||
"matchStrings": ["ARG ACT_VERSION=(?<currentValue>.*)"],
|
"matchStrings": ["ARG ACT_VERSION=(?<currentValue>.*)"],
|
||||||
"datasourceTemplate": "gitea-releases",
|
"datasourceTemplate": "gitea-releases",
|
||||||
"depNameTemplate": "gitea/act_runner"
|
"depNameTemplate": "gitea/act_runner"
|
||||||
}
|
},
|
||||||
|
{
|
||||||
|
"description": "Manage Alpine OS versions in container image tags",
|
||||||
|
"customType": "regex",
|
||||||
|
"fileMatch": ["Dockerfile$"],
|
||||||
|
"matchStrings": [
|
||||||
|
"FROM\\s+(?<depName>[\\S]+?):(?<currentValue>[^@\\s]+)(?:@(?<currentDigest>sha256:[a-f0-9]+))?"
|
||||||
|
],
|
||||||
|
"versioningTemplate": "regex:^(?<compatibility>[\\S]*\\d+\\.\\d+(?:\\.\\d+)?(?:[\\S]*)?-alpine-?)(?<major>\\d+)\\.(?<minor>\\d+)(?:\\.(?<patch>\\d+))?$",
|
||||||
|
"datasourceTemplate": "docker"
|
||||||
|
}
|
||||||
],
|
],
|
||||||
"packageRules": [
|
"packageRules": [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user