test actions
Build and Deploy Docker / build (push) Failing after 5m52s

This commit is contained in:
2026-06-29 23:00:26 +02:00
parent 6d7086b1ee
commit 1d80cc2417
2 changed files with 33 additions and 2 deletions
+31
View File
@@ -0,0 +1,31 @@
name: Build and Deploy Docker
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- name: Log in to GHCR
uses: docker/login-action@v3
with:
registry: git.rhost.ovh
username: ${{ github.actor }}
password: ${{ secrets.TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: git.rhost.ovh/${{ github.repository }}:latest
+2 -2
View File
@@ -1,10 +1,10 @@
services:
cron:
image: registry.docker.rhost.ovh/updateip:0.0.2
image: git.rhost.ovh/ryjek/update-homelab-ip:0.0.1
platform: linux/x86_64
build:
context: .
dockerfile: Dockerfile
dockerfile: service/Dockerfile
restart: on-failure
command: >
bash -c "printenv > /etc/environment && cron -f"