Remove buildx plugin from build requirements

This commit is contained in:
Keannu Bernasol 2024-08-30 16:57:22 +08:00
parent 4b0a584748
commit a51751666d

View file

@ -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