Add dockerfile and build job
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
FROM alpine:3.14
|
||||||
|
|
||||||
|
RUN apk update
|
||||||
|
RUN apk install rustup postgresql
|
||||||
|
RUN rustup install stable
|
||||||
@@ -8,3 +8,18 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- echo "Hello world"
|
- echo "Hello world"
|
||||||
|
|
||||||
|
- name: docker-build
|
||||||
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
|
settings:
|
||||||
|
dockerfile: .woodpecker/Dockerfile
|
||||||
|
registry: gitea.firechicken.net
|
||||||
|
repo: fedichat
|
||||||
|
username: ${{ gitea.actor }}
|
||||||
|
password: ${{ gitea.token }}
|
||||||
|
when:
|
||||||
|
- event: push
|
||||||
|
branch: master
|
||||||
|
- event: pull_request
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user