Compare commits

..

1 Commits

Author SHA1 Message Date
ef00129ab4 Update actions/build-push-action action to v6 2024-08-15 13:21:44 +00:00
5 changed files with 26 additions and 56 deletions

@ -1,13 +1,13 @@
name: Node npm name: Build and Push Image
on: on:
schedule: schedule:
- cron: "@weekly" - cron: "@weekly"
push: push:
branches: [main] branches:
- main
paths: paths:
- .gitea/workflows/node-npm.yaml - .gitea/workflows/node-npm.yaml
- images/actions/node-npm/** - images/actions/node-npm/**
pull_request:
jobs: jobs:
build: build:
@ -22,24 +22,18 @@ jobs:
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: https://git.kjan.de/actions/setup-buildx-action@v3 uses: https://git.kjan.de/actions/setup-buildx-action@v3
- name: Login to local Docker Registry - name: Login to Docker Registry
uses: https://git.kjan.de/actions/login-action@v3 uses: https://git.kjan.de/actions/login-action@v3
with: with:
registry: git.kjan.de registry: git.kjan.de
username: ${{ secrets.REGISTRY_USERNAME }} username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_TOKEN }} password: ${{ secrets.REGISTRY_TOKEN }}
- name: Login to Docker.io Registry
uses: https://git.kjan.de/actions/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push - name: Build and push
uses: https://git.kjan.de/actions/build-push-action@v6 uses: https://git.kjan.de/actions/build-push-action@v6
with: with:
context: ./images/actions/node-npm context: ./images/actions/node-npm
push: ${{ github.ref == 'refs/heads/main' }} push: true
tags: | tags: |
git.kjan.de/actions/node-npm:latest git.kjan.de/actions/node-npm:latest
git.kjan.de/actions/node-npm:${{ gitea.run_number }} git.kjan.de/actions/node-npm:${{ gitea.run_number }}

@ -1,13 +1,13 @@
name: Node ssh name: Build and Push Image
on: on:
schedule: schedule:
- cron: "@weekly" - cron: "@weekly"
push: push:
branches: [main] branches:
- main
paths: paths:
- .gitea/workflows/node-ssh.yaml - .gitea/workflows/node-ssh.yaml
- images/actions/node-ssh/** - images/actions/node-ssh/**
pull_request:
jobs: jobs:
build: build:
@ -22,24 +22,18 @@ jobs:
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: https://git.kjan.de/actions/setup-buildx-action@v3 uses: https://git.kjan.de/actions/setup-buildx-action@v3
- name: Login to local Docker Registry - name: Login to Docker Registry
uses: https://git.kjan.de/actions/login-action@v3 uses: https://git.kjan.de/actions/login-action@v3
with: with:
registry: git.kjan.de registry: git.kjan.de
username: ${{ secrets.REGISTRY_USERNAME }} username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_TOKEN }} password: ${{ secrets.REGISTRY_TOKEN }}
- name: Login to Docker.io Registry
uses: https://git.kjan.de/actions/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push - name: Build and push
uses: https://git.kjan.de/actions/build-push-action@v6 uses: https://git.kjan.de/actions/build-push-action@v6
with: with:
context: ./images/actions/node-ssh context: ./images/actions/node-ssh
push: ${{ github.ref == 'refs/heads/main' }} push: true
tags: | tags: |
git.kjan.de/actions/node-ssh:latest git.kjan.de/actions/node-ssh:latest
git.kjan.de/actions/node-ssh:${{ gitea.run_number }} git.kjan.de/actions/node-ssh:${{ gitea.run_number }}

@ -1,13 +1,13 @@
name: PHP 8.2 name: Build and Push Image
on: on:
schedule: schedule:
- cron: "@weekly" - cron: "@weekly"
push: push:
branches: [main] branches:
- main
paths: paths:
- .gitea/workflows/php-8.2.yaml - .gitea/workflows/php-8.2.yaml
- images/actions/php-8.2/** - images/actions/php-8.2/**
pull_request:
jobs: jobs:
build: build:
@ -22,24 +22,18 @@ jobs:
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: https://git.kjan.de/actions/setup-buildx-action@v3 uses: https://git.kjan.de/actions/setup-buildx-action@v3
- name: Login to local Docker Registry - name: Login to Docker Registry
uses: https://git.kjan.de/actions/login-action@v3 uses: https://git.kjan.de/actions/login-action@v3
with: with:
registry: git.kjan.de registry: git.kjan.de
username: ${{ secrets.REGISTRY_USERNAME }} username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_TOKEN }} password: ${{ secrets.REGISTRY_TOKEN }}
- name: Login to Docker.io Registry
uses: https://git.kjan.de/actions/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push - name: Build and push
uses: https://git.kjan.de/actions/build-push-action@v6 uses: https://git.kjan.de/actions/build-push-action@v6
with: with:
context: ./images/actions/php-8.2 context: ./images/actions/php-8.2
push: ${{ github.ref == 'refs/heads/main' }} push: true
tags: | tags: |
git.kjan.de/actions/php-8.2:latest git.kjan.de/actions/php-8.2:latest
git.kjan.de/actions/php-8.2:${{ gitea.run_number }} git.kjan.de/actions/php-8.2:${{ gitea.run_number }}

@ -1,13 +1,13 @@
name: PHP deployer name: Build and Push Image
on: on:
schedule: schedule:
- cron: "@weekly" - cron: "@weekly"
push: push:
branches: [main] branches:
- main
paths: paths:
- .gitea/workflows/php-deployer.yaml - .gitea/workflows/php-deployer.yaml
- images/actions/php-deployer/** - images/actions/php-deployer/**
pull_request:
jobs: jobs:
build: build:
@ -22,24 +22,18 @@ jobs:
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: https://git.kjan.de/actions/setup-buildx-action@v3 uses: https://git.kjan.de/actions/setup-buildx-action@v3
- name: Login to local Docker Registry - name: Login to Docker Registry
uses: https://git.kjan.de/actions/login-action@v3 uses: https://git.kjan.de/actions/login-action@v3
with: with:
registry: git.kjan.de registry: git.kjan.de
username: ${{ secrets.REGISTRY_USERNAME }} username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_TOKEN }} password: ${{ secrets.REGISTRY_TOKEN }}
- name: Login to Docker.io Registry
uses: https://git.kjan.de/actions/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push - name: Build and push
uses: https://git.kjan.de/actions/build-push-action@v6 uses: https://git.kjan.de/actions/build-push-action@v6
with: with:
context: ./images/actions/php-deployer context: ./images/actions/php-deployer
push: ${{ github.ref == 'refs/heads/main' }} push: true
tags: | tags: |
git.kjan.de/actions/php-deployer:latest git.kjan.de/actions/php-deployer:latest
git.kjan.de/actions/php-deployer:${{ gitea.run_number }} git.kjan.de/actions/php-deployer:${{ gitea.run_number }}

@ -1,13 +1,13 @@
name: Rust node name: Build and Push Image
on: on:
schedule: schedule:
- cron: "@weekly" - cron: "@weekly"
push: push:
branches: [main] branches:
- main
paths: paths:
- .gitea/workflows/rust-node.yaml - .gitea/workflows/rust-node.yaml
- images/actions/rust-node/** - images/actions/rust-node/**
pull_request:
jobs: jobs:
build: build:
@ -22,24 +22,18 @@ jobs:
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: https://git.kjan.de/actions/setup-buildx-action@v3 uses: https://git.kjan.de/actions/setup-buildx-action@v3
- name: Login to local Docker Registry - name: Login to Docker Registry
uses: https://git.kjan.de/actions/login-action@v3 uses: https://git.kjan.de/actions/login-action@v3
with: with:
registry: git.kjan.de registry: git.kjan.de
username: ${{ secrets.REGISTRY_USERNAME }} username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_TOKEN }} password: ${{ secrets.REGISTRY_TOKEN }}
- name: Login to Docker.io Registry
uses: https://git.kjan.de/actions/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push - name: Build and push
uses: https://git.kjan.de/actions/build-push-action@v6 uses: https://git.kjan.de/actions/build-push-action@v6
with: with:
context: ./images/actions/rust-node context: ./images/actions/rust-node
push: ${{ github.ref == 'refs/heads/main' }} push: true
tags: | tags: |
git.kjan.de/actions/rust-node:latest git.kjan.de/actions/rust-node:latest
git.kjan.de/actions/rust-node:${{ gitea.run_number }} git.kjan.de/actions/rust-node:${{ gitea.run_number }}