adding new build

This commit is contained in:
Michael Trip 2025-09-17 14:18:09 +02:00
parent 7f6d04cb3d
commit f9856c17fc
6 changed files with 108 additions and 90 deletions

View file

@ -11,7 +11,7 @@ on:
push:
branches: [ "main" ]
paths:
- "ubuntu-mate/Dockerfile"
- "debian-mate/Dockerfile"
- ".github/workflows/ubuntu-mate-build.yml"
# Publish semver tags as releases.
tags: [ 'v*.*.*' ]
@ -22,7 +22,7 @@ env:
# Use docker.io for Docker Hub if empty
REGISTRY: ghcr.io
# github.repository as <account>/<repo>
IMAGE_NAME: ${{ github.repository }}/containerdesk-ubuntu-mate
IMAGE_NAME: ${{ github.repository }}/containerdesk-debian-mate
jobs:
@ -69,8 +69,8 @@ jobs:
id: build-and-push
uses: docker/build-push-action@ac9327eae2b366085ac7f6a2d02df8aa8ead720a
with:
context: ./ubuntu-mate
file: ./ubuntu-mate/Dockerfile
context: ./debian-mate
file: ./debian-mate/Dockerfile
platforms: linux/amd64
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
@ -78,11 +78,3 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max
keepalive-job:
name: Keepalive Workflow
runs-on: ubuntu-latest
permissions:
actions: write
steps:
- uses: actions/checkout@v4
- uses: liskin/gh-workflow-keepalive@v1

View file

@ -77,12 +77,3 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
keepalive-job:
name: Keepalive Workflow
runs-on: ubuntu-latest
permissions:
actions: write
steps:
- uses: actions/checkout@v4
- uses: gautamkrishnar/keepalive-workflow@v2