Update .gitea/workflows/container-build.yml

This commit is contained in:
2024-07-24 09:53:59 +00:00
parent 902a4fc445
commit 0c8624b7b6

View File

@@ -1,4 +1,4 @@
name: build containers name: "Build Container: Debian SteamCMD"
on: on:
schedule: schedule:
- cron: '0 0 1 * *' - cron: '0 0 1 * *'
@@ -6,17 +6,17 @@ on:
branches: branches:
- release - release
paths: paths:
- operating-systems/** - operating-systems/debian-steamcmd/**
jobs: jobs:
push: push:
name: Build Container Image container:${{ matrix.operating-systems }} name: "Build Container Image: container:debian-steamcmd"
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: ghcr.io/catthehacker/ubuntu:act-latest container: ghcr.io/catthehacker/ubuntu:act-latest
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
operating-systems: operating-systems:
- debian - debian-steamcmd
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
@@ -34,9 +34,9 @@ jobs:
password: ${{ secrets.REGISTRY_TOKEN }} password: ${{ secrets.REGISTRY_TOKEN }}
- uses: docker/build-push-action@v3 - uses: docker/build-push-action@v3
with: with:
context: ./operating-systems/${{ matrix.operating-systems }} context: ./operating-systems/debian-steamcmd
file: ./operating-systems/${{ matrix.operating-systems }}/Dockerfile file: ./operating-systems/debian-steamcmd/Dockerfile
platforms: linux/amd64 platforms: linux/amd64
push: true push: true
tags: | tags: |
git.anomalous.dev/57_wolve/container:${{ matrix.operating-systems }} git.anomalous.dev/57_wolve/container:debian-steamcmd