--- kind: pipeline type: docker name: Test-Push platform: arch: amd64 steps: - name: Prepare Repo (amd64,test) image: alpine/git commands: - git submodule update --init --recursive - name: Compile gmqcc (amd64,test) image: alpine commands: - chmod +x ci-dependencies.sh - ./ci-dependencies.sh - cd gmqcc - make - cd .. - name: Compile SpecialSauce (amd64,test) image: alpine commands: - chmod +x ci-dependencies.sh - chmod +x build.sh - ./ci-dependencies.sh - sh build.sh trigger: branch: - main event: - push --- kind: pipeline type: docker name: Release-Tag platform: arch: amd64 steps: - name: Prepare Repo (amd64,prod) image: alpine/git commands: - git submodule update --init --recursive - name: Compile gmqcc (amd64,prod) image: alpine commands: - chmod +x ci-dependencies.sh - ./ci-dependencies.sh - cd gmqcc - make - cd .. - name: Compile SpecialSauce (amd64,prod) image: alpine commands: - chmod +x ci-dependencies.sh - chmod +x build.sh - ./ci-dependencies.sh - sh build.sh - name: Release_binary (amd64,prod) image: plugins/gitea-release settings: api_key: from_secret: api_key base_url: https://git.hackmi.ch files: dist/* checksum: md5,sha256 trigger: event: - tag