Compare commits
24 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2007b691e4 | |||
| 64fb20c1d2 | |||
| 1425fb25e1 | |||
| 3b24ec1cbe | |||
| 7494997fc1 | |||
| 8d085f1f93 | |||
| 7338ee133e | |||
| 082c86667a | |||
| eed630519a | |||
| eead5ac458 | |||
| b12b6b467c | |||
| 80aab4cb57 | |||
| 2a1abc872d | |||
| b310418fc9 | |||
| b039b9bf27 | |||
| 60f0728208 | |||
| 5e8a34bd6f | |||
| 65d9cbaee6 | |||
| 9e9c1dc5e8 | |||
| 95b679cf0e | |||
| 7bdb331cc4 | |||
| 4a6ba85539 | |||
| 7dcdb2dd9e | |||
| 9a13ec1134 |
@@ -5,7 +5,7 @@ on:
|
|||||||
- 'develop'
|
- 'develop'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
FULL_TAG: git.mrmeeb.stream/mrmeeb/gitea-act-runner
|
FULL_TAG: git.mrmeeb.stream/mrmeeb/gitea-act-runner:develop
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
"Build Image":
|
"Build Image":
|
||||||
@@ -21,20 +21,12 @@ 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: ${{ steps.meta.outputs.tags }}
|
tags: ${{ env.FULL_TAG }}
|
||||||
provenance: false
|
provenance: false
|
||||||
- name: Notify on failure
|
- name: Notify on failure
|
||||||
uses: rjstone/discord-webhook-notify@v1
|
uses: rjstone/discord-webhook-notify@v1
|
||||||
|
|||||||
+3
-6
@@ -1,8 +1,8 @@
|
|||||||
FROM golang:1.26-alpine3.22 as builder
|
FROM golang:1.22-alpine3.18 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.11
|
ARG ACT_VERSION=0.2.10
|
||||||
|
|
||||||
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:27.5.1-dind
|
FROM docker:25.0.5-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,9 +28,6 @@ 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
|
||||||
|
|
||||||
|
|||||||
+2
-12
@@ -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,17 +12,7 @@
|
|||||||
"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