From 2582dba8a495b52387d476c4cea2c540d3a1ce3a Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Sun, 18 Aug 2024 15:15:16 +0200 Subject: [PATCH] Add workflow for automatic uploading --- .forgejo/workflows/upload.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .forgejo/workflows/upload.yml diff --git a/.forgejo/workflows/upload.yml b/.forgejo/workflows/upload.yml new file mode 100644 index 0000000..8b010f4 --- /dev/null +++ b/.forgejo/workflows/upload.yml @@ -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