From 80447c39011354dddd8d64dfd75580b433f3f79a Mon Sep 17 00:00:00 2001 From: OCram85 Date: Mon, 10 Jul 2023 14:04:21 +0200 Subject: [PATCH] simplify ci --- .gitea/workflows/{docker.yaml => ci.yaml} | 6 ++++-- .gitea/workflows/deploy.yaml | 2 +- .gitea/workflows/testing.yaml | 19 ------------------- 3 files changed, 5 insertions(+), 22 deletions(-) rename .gitea/workflows/{docker.yaml => ci.yaml} (90%) delete mode 100644 .gitea/workflows/testing.yaml diff --git a/.gitea/workflows/docker.yaml b/.gitea/workflows/ci.yaml similarity index 90% rename from .gitea/workflows/docker.yaml rename to .gitea/workflows/ci.yaml index f10c56c..64900af 100644 --- a/.gitea/workflows/docker.yaml +++ b/.gitea/workflows/ci.yaml @@ -1,10 +1,12 @@ -name: docker test build +name: ci run-name: docker pipeline on: push: #branches: none #[ main ] + tags-ignore: + - * pull_request: #branches: none # [ main ] # Allows you to run this workflow manually from the Actions tab @@ -35,4 +37,4 @@ jobs: uses: actions/build-push-action@v4 with: push: false - tags: gitea.ocram85.com/ocram85/swarmproxy:next2 + tags: gitea.ocram85.com/ocram85/swarmproxy:next diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 739dccd..1c75bb0 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -1,4 +1,4 @@ -name: ci +name: deployment run-name: tag based container build and push diff --git a/.gitea/workflows/testing.yaml b/.gitea/workflows/testing.yaml deleted file mode 100644 index a221d22..0000000 --- a/.gitea/workflows/testing.yaml +++ /dev/null @@ -1,19 +0,0 @@ -name: testing - -run-name: 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