Use own build
Some checks failed
Build / latest (push) Has been cancelled

This commit is contained in:
Sven Heidemann 2025-03-14 19:11:06 +01:00
parent 8d311fe3b1
commit 1e7158133c

View File

@ -3,25 +3,32 @@ on:
push: push:
branches: branches:
- master - master
schedule: schedule:
- cron: 0 4 * * 1 - cron: 0 4 * * 7
jobs: jobs:
latest: latest:
runs-on: ubuntu-latest runs-on: [runner]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Set up QEMU - name: Set up QEMU
uses: docker/setup-qemu-action@v1 uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1 uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
uses: docker/login-action@v1 - name: Login to registry git.sh-edraft.de
uses: https://github.com/docker/login-action@v1
with: with:
username: ${{ secrets.DOCKERHUB_USERNAME }} registry: git.sh-edraft.de
password: ${{ secrets.DOCKERHUB_TOKEN }} username: ${{ secrets.CI_USERNAME }}
password: ${{ secrets.CI_ACCESS_TOKEN }}
- name: Build and push - name: Build and push
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2
with: with:
push: 'true' push: "true"
platforms: linux/amd64 platforms: linux/amd64
tags: hackebein/garrysmod:latest tags: git.sh-edraft.de/sh-edraft.de/garrysmod:latest