actions-docker/.forgejo/workflows/upload.yml

27 lines
709 B
YAML

# Automatic image build and upload workflow
# It does not run on actions-docker:
# 1. to avoid issues, and
# 2. because we don't need it.
name: upload
on:
- push
jobs:
upload:
runs-on: docker
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to StarOpenSource Git
uses: docker/login-action@v3
with:
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
push: true
tags: staropensource/actions-docker:latest