diff --git a/.forgejo/workflows/continuous-integration.yaml b/.forgejo/workflows/continuous-integration.yaml index c6b1f55..762ee62 100644 --- a/.forgejo/workflows/continuous-integration.yaml +++ b/.forgejo/workflows/continuous-integration.yaml @@ -3,21 +3,11 @@ on: push: branches: [main] jobs: - # build and tag the Docker image that the rest of the jobs will run on - setup-image: - runs-on: self-hosted - defaults: - run: - working-directory: tools/ci-image - steps: - - uses: https://code.forgejo.org/actions/checkout@v4 - - run: docker build . --tag dyna3:ci # build the application, reporting success if there are no errors or warnings build: runs-on: docker container: image: dyna3:ci - needs: [setup-image] defaults: run: working-directory: app-proto @@ -31,7 +21,6 @@ jobs: runs-on: docker container: image: dyna3:ci - needs: [setup-image] defaults: run: working-directory: app-proto @@ -49,7 +38,6 @@ jobs: runs-on: docker container: image: dyna3:ci - needs: [setup-image] defaults: run: working-directory: app-proto diff --git a/tools/ci-image/build b/tools/ci-image/build new file mode 100755 index 0000000..d1a90dc --- /dev/null +++ b/tools/ci-image/build @@ -0,0 +1,5 @@ +#!/bin/sh + +# build and tag the Docker image we use for continuous integration + +docker build . --tag dyna3:ci \ No newline at end of file