actions-docker/.forgejo/workflows/upload.yml
JeremyStarTM 49ecddc2b3
Some checks failed
upload / upload (push) Failing after 0s
Add "Setup system" step
2024-08-18 15:21:17 +02:00

32 lines
929 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: Setup system
- run: |
apt update
apt upgrade -y
apt install -y docker
- name: Set up QEMU
uses: https://code.forgejo.org/docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: https://code.forgejo.org/docker/setup-buildx-action@v3
- name: Login to StarOpenSource Git
uses: https://code.forgejo.org/docker/login-action@v3
with:
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build and push
uses: https://code.forgejo.org/docker/build-push-action@v6
with:
push: true
tags: staropensource/actions-docker:latest