Add workflow for automatic uploading

This commit is contained in:
JeremyStar™ 2024-08-18 15:15:16 +02:00
parent 1a8e079767
commit 2582dba8a4
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

@ -0,0 +1,23 @@
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 sos!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