Compare commits
13 Commits
246dc298e6
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9731bb5be6 | ||
|
|
2735b18856 | ||
|
|
f62382f3c6 | ||
|
|
a061cd6304 | ||
|
|
ef9aa2d54c | ||
|
|
c53524aa26 | ||
| d3a7440091 | |||
| 61b83b85d4 | |||
|
|
72d26206fa | ||
| 5e690d52e2 | |||
|
|
c57dcd24bf | ||
| be9aea31d9 | |||
|
|
d6123836cf |
@@ -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,8 +27,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
|
||||||
@@ -43,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 }}
|
||||||
@@ -56,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
|
||||||
@@ -66,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
|
||||||
@@ -84,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 }}
|
||||||
|
|||||||
5
.vscode/settings.json
vendored
5
.vscode/settings.json
vendored
@@ -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"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user