Add workflow for automatic uploading
This commit is contained in:
parent
1a8e079767
commit
2582dba8a4
1 changed files with 23 additions and 0 deletions
23
.forgejo/workflows/upload.yml
Normal file
23
.forgejo/workflows/upload.yml
Normal 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
|
Loading…
Reference in a new issue