mirror of
https://github.com/lemeow125/DRF_Template.git
synced 2024-11-17 04:09:25 +08:00
Remove buildx plugin from build requirements
This commit is contained in:
parent
4b0a584748
commit
a51751666d
1 changed files with 4 additions and 4 deletions
|
@ -1,17 +1,17 @@
|
||||||
# .woodpecker.yml
|
# .woodpecker.yml
|
||||||
steps:
|
steps:
|
||||||
- name: build & push
|
- name: build & push
|
||||||
image: debian:12.6
|
image: debian:12.6-slim
|
||||||
when:
|
when:
|
||||||
- branch: master
|
- branch: master
|
||||||
- event: push
|
- event: push
|
||||||
commands:
|
commands:
|
||||||
- apt update && apt install -y docker docker-buildx-plugin
|
- apt update && apt install -y docker
|
||||||
- docker buildx build . -t git.keannu1.duckdns.org/keannu125/drf_template
|
- docker build . -t git.keannu1.duckdns.org/keannu125/drf_template
|
||||||
- cat "$GITEA_PASSWORD" | docker login git.keannu1.duckdns.org --username "$GITEA_USERNAME" --pasword-stdin
|
- cat "$GITEA_PASSWORD" | docker login git.keannu1.duckdns.org --username "$GITEA_USERNAME" --pasword-stdin
|
||||||
- docker push git.keannu1.duckdns.org/keannu125/drf_template
|
- docker push git.keannu1.duckdns.org/keannu125/drf_template
|
||||||
- name: update deployment and reset database
|
- name: update deployment and reset database
|
||||||
image: debian:12.6
|
image: debian:12.6-slim
|
||||||
when:
|
when:
|
||||||
- branch: master
|
- branch: master
|
||||||
- event: push
|
- event: push
|
||||||
|
|
Loading…
Reference in a new issue