forked from StudioInfinity/dyna3
Compare commits
No commits in common. "15375dc93213c22d9b79fa728ba6f849f102eeba" and "71f4cd184c28d5b31010ed47bf13c979900aeda2" have entirely different histories.
15375dc932
...
71f4cd184c
2 changed files with 5 additions and 12 deletions
|
@ -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
|
||||
|
|
5
tools/ci-image/build
Executable file
5
tools/ci-image/build
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
# build and tag the Docker image we use for continuous integration
|
||||
|
||||
docker build . --tag dyna3:ci
|
Loading…
Add table
Reference in a new issue