Compare commits
No commits in common. "e6a13fa4c929e41bb5fade9719b22d520c453a99" and "a4291920aaa0387d9a107bc50ddd83631d523e99" have entirely different histories.
e6a13fa4c9
...
a4291920aa
@ -22,29 +22,10 @@ steps:
|
|||||||
- pip_token
|
- pip_token
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
nightly-image:
|
publish-image:
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
privileged: true
|
|
||||||
settings:
|
settings:
|
||||||
dockerfile: Dockerfile.nightly
|
dockerfile: Dockerfile
|
||||||
registry: git.snyman.info
|
|
||||||
username: $DOCKER_USERNAME
|
|
||||||
password: $DOCKER_TOKEN
|
|
||||||
repo: git.snyman.info/${CI_REPO_OWNER}/codesmidgen
|
|
||||||
tags:
|
|
||||||
- nightly
|
|
||||||
- ${CI_COMMIT_SHA:0:8}
|
|
||||||
secrets:
|
|
||||||
- docker_username
|
|
||||||
- docker_token
|
|
||||||
when:
|
|
||||||
- branch: master
|
|
||||||
event: push
|
|
||||||
release-image:
|
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
|
||||||
privileged: true
|
|
||||||
settings:
|
|
||||||
dockerfile: Dockerfile.release
|
|
||||||
registry: git.snyman.info
|
registry: git.snyman.info
|
||||||
username: $DOCKER_USERNAME
|
username: $DOCKER_USERNAME
|
||||||
password: $DOCKER_TOKEN
|
password: $DOCKER_TOKEN
|
||||||
@ -56,5 +37,4 @@ steps:
|
|||||||
- docker_username
|
- docker_username
|
||||||
- docker_token
|
- docker_token
|
||||||
when:
|
when:
|
||||||
- branch: master
|
event: tag
|
||||||
event: tag
|
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
FROM python:3.11
|
|
||||||
|
|
||||||
WORKDIR /app
|
|
||||||
ADD . /app
|
|
||||||
RUN pip install -e .
|
|
||||||
RUN pip install hypercorn
|
|
||||||
|
|
||||||
EXPOSE 8000
|
|
||||||
CMD ["hypercorn", "codesmidgen.app"]
|
|
Loading…
Reference in New Issue
Block a user