backup-container/.forgejo/workflows/docker-publish.yml
Andras Schmelczer b0ddb77d3c
Some checks failed
ShellCheck / shellcheck (pull_request) Successful in 9s
Docker / build (pull_request) Failing after 18s
Update all dependencies
2026-10-29 00:15:53 +00:00

22 lines
514 B
YAML

name: Docker
on:
push:
branches: [ "main" ]
tags: [ 'v*.*.*' ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: docker
steps:
- name: Checkout repository
uses: https://code.forgejo.org/actions/checkout@v7
- name: Build and publish image
uses: http://forgejo:3000/andras/ci-actions/docker-publish@main
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
token: ${{ secrets.FORGEJO_PACKAGE_TOKEN }}