mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-12-26 23:31:52 +00:00
refactor: move to gitea actions
Some checks failed
Build & Push Docker Images / Build Image (., web/Dockerfile, web) (push) Failing after 1m8s
Build & Push Docker Images / Build Image (db, db/Dockerfile, db) (push) Failing after 9s
Build & Push Docker Images / Build Image (judger, judger/Dockerfile, judger) (push) Failing after 10s
Build & Push Docker Images / Build Image (remote_judger, remote_judger/Dockerfile, remote-judger) (push) Failing after 10s
Some checks failed
Build & Push Docker Images / Build Image (., web/Dockerfile, web) (push) Failing after 1m8s
Build & Push Docker Images / Build Image (db, db/Dockerfile, db) (push) Failing after 9s
Build & Push Docker Images / Build Image (judger, judger/Dockerfile, judger) (push) Failing after 10s
Build & Push Docker Images / Build Image (remote_judger, remote_judger/Dockerfile, remote-judger) (push) Failing after 10s
This commit is contained in:
parent
afda9290fa
commit
935cea4db0
123
.drone.yml
123
.drone.yml
@ -1,123 +0,0 @@
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: Build Docker Image (s2oj-db)
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
|
||||
steps:
|
||||
- name: tags
|
||||
image: alpine
|
||||
commands:
|
||||
- echo -n "latest, $DRONE_BRANCH, ${DRONE_COMMIT_SHA:0:8}" > .tags
|
||||
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry: git.m.ac
|
||||
repo: git.m.ac/baoshuo/s2oj-db
|
||||
context: db
|
||||
dockerfile: db/Dockerfile
|
||||
username: baoshuo
|
||||
password:
|
||||
from_secret: GITMAC_SECRET
|
||||
cache_from: git.m.ac/baoshuo/s2oj-db:latest
|
||||
when:
|
||||
event: push
|
||||
branch: master
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: Build Docker Image (s2oj-judger)
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
|
||||
steps:
|
||||
- name: tags
|
||||
image: alpine
|
||||
commands:
|
||||
- echo -n "latest, $DRONE_BRANCH, ${DRONE_COMMIT_SHA:0:8}" > .tags
|
||||
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry: git.m.ac
|
||||
repo: git.m.ac/baoshuo/s2oj-judger
|
||||
context: judger
|
||||
dockerfile: judger/Dockerfile
|
||||
username: baoshuo
|
||||
password:
|
||||
from_secret: GITMAC_SECRET
|
||||
cache_from: git.m.ac/baoshuo/s2oj-judger:latest
|
||||
when:
|
||||
event: push
|
||||
branch: master
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: Build Docker Image (s2oj-remote-judger)
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
|
||||
steps:
|
||||
- name: tags
|
||||
image: alpine
|
||||
commands:
|
||||
- echo -n "latest, $DRONE_BRANCH, ${DRONE_COMMIT_SHA:0:8}" > .tags
|
||||
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry: git.m.ac
|
||||
repo: git.m.ac/baoshuo/s2oj-remote-judger
|
||||
context: remote_judger
|
||||
dockerfile: remote_judger/Dockerfile
|
||||
username: baoshuo
|
||||
password:
|
||||
from_secret: GITMAC_SECRET
|
||||
cache_from: git.m.ac/baoshuo/s2oj-remote-judger:latest
|
||||
when:
|
||||
event: push
|
||||
branch: master
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: Build Docker Image (s2oj-web)
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
|
||||
steps:
|
||||
- name: tags
|
||||
image: alpine
|
||||
commands:
|
||||
- echo -n "latest, $DRONE_BRANCH, ${DRONE_COMMIT_SHA:0:7}" > .tags
|
||||
|
||||
- name: version
|
||||
image: alpine
|
||||
commands:
|
||||
- sed -i "s/'s2oj-version' => 'dev'/'s2oj-version' => '${DRONE_COMMIT_SHA:0:7}'/g" web/app/.default-config.php
|
||||
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry: git.m.ac
|
||||
repo: git.m.ac/baoshuo/s2oj-web
|
||||
dockerfile: web/Dockerfile
|
||||
username: baoshuo
|
||||
password:
|
||||
from_secret: GITMAC_SECRET
|
||||
cache_from: git.m.ac/baoshuo/s2oj-web:latest
|
||||
when:
|
||||
event: push
|
||||
branch: master
|
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -10,7 +10,7 @@ on:
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
REGISTRY: ghcr.io
|
||||
REGISTRY: ${{ env.REGISTRY || 'ghcr.io' }}
|
||||
IMAGE_BASENAME: ${{ github.repository }}
|
||||
|
||||
jobs:
|
||||
|
Loading…
Reference in New Issue
Block a user