From a33f30c537ca35aa49998feff65046c66344931d Mon Sep 17 00:00:00 2001 From: Danny Bessems Date: Wed, 7 Jan 2026 13:00:44 +0000 Subject: [PATCH] Update .gitea/workflows/actions.yaml --- .gitea/workflows/actions.yaml | 48 +---------------------------------- 1 file changed, 1 insertion(+), 47 deletions(-) diff --git a/.gitea/workflows/actions.yaml b/.gitea/workflows/actions.yaml index b7bb7f5..195912e 100644 --- a/.gitea/workflows/actions.yaml +++ b/.gitea/workflows/actions.yaml @@ -8,8 +8,6 @@ jobs: outputs: version: ${{ steps.tag.outputs.version }} steps: - # - name: Check out repository code - # uses: actions/checkout@v3 - name: Pull upstream metadata id: tag run: | @@ -62,37 +60,14 @@ jobs: registry: code.spamasaurus.com username: ${{ secrets.GIT_USERNAME }} password: ${{ secrets.GIT_APIKEY }} - # - name: Login to public repository - # uses: docker/login-action@v3 - # with: - # registry: docker.io - # username: ${{ secrets.DOCKERHUB_USERNAME }} - # password: ${{ secrets.DOCKERHUB_PASSWORD }} - - name: Extract source image version tag - id: source_tag - run: | - tag=$(grep -E '^FROM' Dockerfile | head -n1 | sed -E 's/^FROM [^:]+:([^ ]+).*/\1/' | cut -d '-' -f3) - echo "cthtag=cth$tag" | tee -a "$GITHUB_OUTPUT" - name: Build & push container image uses: docker/build-push-action@v5 with: context: . tags: | - code.spamasaurus.com/djpbessems/act-runner-extended:${{ needs.semrel_dryrun.outputs.version }}-${{ steps.source_tag.outputs.cthtag }} - docker.io/djpbessems/act-runner-extended:${{ needs.semrel_dryrun.outputs.version }}-${{ steps.source_tag.outputs.cthtag }} + code.spamasaurus.com/djpbessems/filestash-enterprise:${{ needs.parse_tag.outputs.version }} provenance: false push: true - labels: | - org.opencontainers.image.authors=https://code.spamasaurus.com/djpbessems - org.opencontainers.image.created='' - org.opencontainers.image.description=Customized act-runner with extra packages - org.opencontainers.image.documentation='' - org.opencontainers.image.revision='' - org.opencontainers.image.source='' - org.opencontainers.image.title=act-runner-extended - org.opencontainers.image.url='' - org.opencontainers.image.vendor=djpbessems - org.opencontainers.image.version=${{ needs.semrel_dryrun.outputs.version }}-${{ steps.source_tag.outputs.cthtag }} # build_chart: # name: Helm chart @@ -123,24 +98,3 @@ jobs: # json-server-*.tgz \ # spamasaurus - semrel: - name: Semantic Release - runs-on: ubuntu-latest - needs: [build_container,build_chart] - steps: - - name: Check out repository code - uses: actions/checkout@v3 - - name: Install dependencies - run: | - npm install \ - semantic-release \ - @semantic-release/changelog \ - @semantic-release/commit-analyzer \ - @semantic-release/git \ - @semantic-release/release-notes-generator - - name: Semantic Release - run: | - npx semantic-release \ - --branches ${{ gitea.refname }} \ - --tag-format 'v${version}' \ - --plugins @semantic-release/commit-analyzer,@semantic-release/release-notes-generator,@semantic-release/changelog,@semantic-release/git