From 2f1585801e9071368317c77d443f8521f3cf74a5 Mon Sep 17 00:00:00 2001 From: OCram85 Date: Thu, 6 Jul 2023 09:26:59 +0200 Subject: [PATCH] testing gitea actions --- .gitea/workflows/docker.yaml | 36 +++++++++++++++++++++++++++++++++++ .gitea/workflows/testing.yaml | 19 ++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 .gitea/workflows/docker.yaml create mode 100644 .gitea/workflows/testing.yaml diff --git a/.gitea/workflows/docker.yaml b/.gitea/workflows/docker.yaml new file mode 100644 index 0000000..d44b20b --- /dev/null +++ b/.gitea/workflows/docker.yaml @@ -0,0 +1,36 @@ +name: docker + +run-name: ${{ gitea.actor }} testing docker builder + +on: + push: + branches: none #[ main ] + #paths: .github/workflows/1-actions-ci-cd-aks.yml + pull_request: + branches: none # [ main ] + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +jobs: + build-container: + runs-on: ubuntu-latest + steps: + - + name: Set up QEMU + uses: docker/setup-qemu-action@v2 + - + name: Set up Docker Buildx + uses: docker/setup-buildx-action@v2 + - + name: Login to Gitea Package Registry + uses: docker/login-action@v2 + with: + registry: gitea.ocram85.com + username: ${{ secrets.GITEA_USERNAME }} + password: ${{ secrets.GITEA_TOKEN }} + - + name: Build and push + uses: docker/build-push-action@v4 + with: + push: false #true + tags: gitea.ocram85.com/ocram85/swarmproxy:next diff --git a/.gitea/workflows/testing.yaml b/.gitea/workflows/testing.yaml new file mode 100644 index 0000000..e089125 --- /dev/null +++ b/.gitea/workflows/testing.yaml @@ -0,0 +1,19 @@ +name: build testing + +run-name: ${{ gitea.actor }} is testing out Gitea Actions + +on: + push: + branches: none #[ main ] + #paths: .github/workflows/1-actions-ci-cd-aks.yml + pull_request: + branches: none # [ main ] + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +jobs: + build-container: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3