Compare commits

..

19 Commits

Author SHA1 Message Date
Patrick Niebeling
9731bb5be6 Switch exp. to old stable
All checks were successful
Deploy Container Image to Registry / docker-build-experimental (push) Successful in 1m54s
Deploy Container Image to Registry / docker-build-stable (push) Successful in 5m15s
2025-09-23 15:22:46 +02:00
Patrick Niebeling
2735b18856 Disable Setup QEMU
Some checks failed
Deploy Container Image to Registry / docker-build-stable (push) Successful in 52s
Deploy Container Image to Registry / docker-build-experimental (push) Failing after 34s
2025-09-23 15:10:21 +02:00
Patrick Niebeling
f62382f3c6 Rmove setup qemu
Some checks failed
Deploy Container Image to Registry / docker-build-stable (push) Successful in 50s
Deploy Container Image to Registry / docker-build-experimental (push) Has been cancelled
2025-09-23 15:00:38 +02:00
Patrick Niebeling
a061cd6304 Update expirimental Stage
Some checks failed
Deploy Container Image to Registry / docker-build-stable (push) Successful in 59s
Deploy Container Image to Registry / docker-build-experimental (push) Has been cancelled
2025-09-23 14:56:34 +02:00
Patrick Niebeling
ef9aa2d54c Update Var
Some checks failed
Deploy Container Image to Registry / docker-build-stable (push) Successful in 48s
Deploy Container Image to Registry / docker-build-experimental (push) Has been cancelled
2025-09-23 14:53:59 +02:00
Patrick Niebeling
c53524aa26 Update Deploy
Some checks failed
Deploy Container Image to Registry / docker-build-stable (push) Failing after 19s
Deploy Container Image to Registry / docker-build-experimental (push) Has been cancelled
2025-09-23 14:51:57 +02:00
d3a7440091 Stable/Dockerfile aktualisiert
Some checks failed
Deploy Container Image to Registry / docker-build-experimental (push) Failing after 10m10s
Deploy Container Image to Registry / docker-build-stable (push) Failing after 22m32s
2025-09-04 00:02:40 +02:00
61b83b85d4 Merge pull request 'provenance: false' (#19) from Update-Pipeline into main
Some checks failed
Deploy Container Image to Registry / docker-build-stable (push) Failing after 12m24s
Deploy Container Image to Registry / docker-build-experimental (push) Failing after 9m45s
Reviewed-on: #19
2024-11-22 13:45:26 +00:00
Patrick Niebeling
72d26206fa provenance: false
Signed-off-by: Patrick Niebeling <patrick.niebeling@adacor.com>
2024-11-22 14:44:56 +01:00
5e690d52e2 Merge pull request 'provenance: false' (#18) from Update-Pipeline into main
All checks were successful
Deploy Container Image to Registry / docker-build-stable (push) Successful in 1m38s
Deploy Container Image to Registry / docker-build-experimental (push) Successful in 1m36s
Reviewed-on: #18
2024-11-22 13:41:07 +00:00
Patrick Niebeling
c57dcd24bf provenance: false
Signed-off-by: Patrick Niebeling <patrick.niebeling@adacor.com>
2024-11-22 14:40:14 +01:00
be9aea31d9 Merge pull request 'Change Interval to Weekly' (#17) from Update-Pipeline into main
All checks were successful
Deploy Container Image to Registry / docker-build-experimental (push) Successful in 1m28s
Deploy Container Image to Registry / docker-build-stable (push) Successful in 1m31s
Reviewed-on: #17
2024-11-21 12:38:07 +00:00
Patrick Niebeling
d6123836cf Change Interval to Weekly
Signed-off-by: Patrick Niebeling <patrick.niebeling@adacor.com>
2024-11-21 13:37:27 +01:00
246dc298e6 Merge pull request 'Update Date' (#16) from Update-Pipeline into main
All checks were successful
Deploy Container Image to Registry / docker-build-stable (push) Successful in 1m36s
Deploy Container Image to Registry / docker-build-experimental (push) Successful in 1m32s
Reviewed-on: #16
2024-11-20 15:03:54 +00:00
Patrick Niebeling
509e7f472d Update Date
Signed-off-by: Patrick Niebeling <patrick.niebeling@adacor.com>
2024-11-20 16:03:39 +01:00
fd868b525b Merge pull request 'Update assignment' (#15) from Update-Pipeline into main
All checks were successful
Deploy Container Image to Registry / docker-build-stable (push) Successful in 1m13s
Deploy Container Image to Registry / docker-build-experimental (push) Successful in 1m13s
Reviewed-on: #15
2024-11-20 15:00:39 +00:00
Patrick Niebeling
8cb84e605c Update assignment
Signed-off-by: Patrick Niebeling <patrick.niebeling@adacor.com>
2024-11-20 16:00:14 +01:00
9e2d45f346 Merge pull request 'Update Version Variable' (#14) from Update-Pipeline into main
Some checks failed
Deploy Container Image to Registry / docker-build-stable (push) Failing after 27s
Deploy Container Image to Registry / docker-build-experimental (push) Successful in 1m12s
Reviewed-on: #14
2024-11-20 14:59:11 +00:00
Patrick Niebeling
865ba3034e Update Version Variable
Signed-off-by: Patrick Niebeling <patrick.niebeling@adacor.com>
2024-11-20 15:58:54 +01:00
4 changed files with 21 additions and 18 deletions

View File

@@ -1,10 +1,11 @@
name: Deploy Container Image to Registry name: Deploy Container Image to Registry
on: on:
schedule: schedule:
- cron: 0 1 * * * - cron: 0 1 * * 1
push: push:
branches: branches:
- main - main
workflow_dispatch:
jobs: jobs:
docker-build-stable: docker-build-stable:
@@ -13,8 +14,11 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Set up QEMU # - name: Set up QEMU
uses: docker/setup-qemu-action@v3 # uses: docker/setup-qemu-action@v3
- name: Ausgabe der Variable gitea.actor
run: echo "Gitea Actor = ${{ gitea.actor }}"
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v3
@@ -23,14 +27,16 @@ jobs:
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: gitea.gnilebein.de registry: gitea.gnilebein.de
username: ${{ gitea.repository_owner }} username: ${{ gitea.actor }}
password: ${{ secrets.REG_GITEA_PASSWORD }} password: ${{ secrets.PAT }}
- name: Get Meta - name: Get Meta
id: meta id: meta
run: | run: |
echo VERSION=$(git ls-remote --tags -q https://github.com/rspamd/rspamd | sed -n "s/^[[:xdigit:]]\{40\}[[:blank:]]refs\/tags\/\([0-9]\{1\}\.[0-9]\{1,2\}\($\|\.[0-9]\{1,2\}$\)\)/\1/p" | sort --version-sort | tail -1) | tee -a $GITHUB_OUTPUT echo VERSION=$(git ls-remote --tags -q https://github.com/rspamd/rspamd | sed -n "s/^[[:xdigit:]]\{40\}[[:blank:]]refs\/tags\/\([0-9]\{1\}\.[0-9]\{1,2\}\($\|\.[0-9]\{1,2\}$\)\)/\1/p" | sort --version-sort | tail -1) | tee -a $GITHUB_OUTPUT
echo IMAGE_CREATED=$(date -u +"%Y-%m-%dT%H:%M:%SZ") | tee -a $GITHUB_OUTPUT echo IMAGE_CREATED=$(date -u +"%Y-%m-%dT%H:%M:%SZ") | tee -a $GITHUB_OUTPUT
IMAGE_CREATED=${{ steps.meta.outputs.VERSION }}
IMAGE_CREATED=${{ steps.meta.outputs.IMAGE_CREATED }}
- name: Build and push - name: Build and push
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6
@@ -41,6 +47,7 @@ jobs:
pull: false pull: false
push: true push: true
no-cache: true no-cache: true
provenance: false
build-args: | build-args: |
VERSION=${{ steps.meta.outputs.VERSION }} VERSION=${{ steps.meta.outputs.VERSION }}
IMAGE_CREATED=${{ steps.meta.outputs.IMAGE_CREATED }} IMAGE_CREATED=${{ steps.meta.outputs.IMAGE_CREATED }}
@@ -54,8 +61,8 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Set up QEMU # - name: Set up QEMU
uses: docker/setup-qemu-action@v3 # uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v3
@@ -64,8 +71,8 @@ jobs:
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: gitea.gnilebein.de registry: gitea.gnilebein.de
username: ${{ gitea.repository_owner }} username: ${{ gitea.actor }}
password: ${{ secrets.REG_GITEA_PASSWORD }} password: ${{ secrets.PAT }}
- name: Get Meta - name: Get Meta
id: meta id: meta
@@ -82,6 +89,7 @@ jobs:
pull: false pull: false
push: true push: true
no-cache: true no-cache: true
provenance: false
build-args: | build-args: |
VERSION=${{ steps.meta.outputs.VERSION }} VERSION=${{ steps.meta.outputs.VERSION }}
IMAGE_CREATED=${{ steps.meta.outputs.IMAGE_CREATED }} IMAGE_CREATED=${{ steps.meta.outputs.IMAGE_CREATED }}

View File

@@ -1,5 +0,0 @@
{
"yaml.schemas": {
"https://json.schemastore.org/github-workflow.json": "file:///c%3A/Users/patrick.niebeling/Documents/gitRepos%20-%20privat/Docker-rspamd/.gitea/workflows/deploy.yaml"
}
}

View File

@@ -1,4 +1,4 @@
FROM debian:stable-slim FROM debian:oldstable-slim
LABEL maintainer="gnilebein - <patrick@niebel.ing>" LABEL maintainer="gnilebein - <patrick@niebel.ing>"
# Setup Labels # Setup Labels
@@ -16,7 +16,7 @@ LABEL org.label-schema.name="Rspamd" \
org.label-schema.schema-version="1.0" \ org.label-schema.schema-version="1.0" \
org.label-schema.version=$VERSION \ org.label-schema.version=$VERSION \
org.label-schema.vcs-url="https://gitea.gnilebein.de/gnilebein/Docker-rspamd" \ org.label-schema.vcs-url="https://gitea.gnilebein.de/gnilebein/Docker-rspamd" \
org.label-schema.build-date=$DATE org.label-schema.build-date=$IMAGE_CREATED
# Install Rspamd # Install Rspamd
RUN set -x \ RUN set -x \

View File

@@ -1,4 +1,4 @@
FROM debian:stable-slim FROM debian:oldstable-slim
LABEL maintainer="gnilebein - <patrick@niebel.ing>" LABEL maintainer="gnilebein - <patrick@niebel.ing>"
# Setup Labels # Setup Labels
@@ -16,7 +16,7 @@ LABEL org.label-schema.name="Rspamd" \
org.label-schema.schema-version="1.0" \ org.label-schema.schema-version="1.0" \
org.label-schema.version=$VERSION \ org.label-schema.version=$VERSION \
org.label-schema.vcs-url="https://gitea.gnilebein.de/gnilebein/Docker-rspamd" \ org.label-schema.vcs-url="https://gitea.gnilebein.de/gnilebein/Docker-rspamd" \
org.label-schema.build-date=$DATE org.label-schema.build-date=$IMAGE_CREATED
# Install Rspamd # Install Rspamd
RUN set -x \ RUN set -x \