update ci workflow

This commit is contained in:
1e99 2024-11-10 15:29:00 +01:00
parent 3da9513349
commit 377aa1044a

View file

@ -5,7 +5,13 @@ when:
steps: steps:
- name: "Build Image" - name: "Build Image"
image: "docker:dind" image: "woodpeckerci/plugin-docker-buildx"
privileged: true settings:
commands: repo: "1e99/passed"
- "docker build -t git.1e99.eu/1e99/passed:$CI_COMMIT_SHA ." dockerfile: "Dockerfile"
platforms: "linux/amd64"
tags: "latest,${CI_COMMIT_SHA}"
username:
from_secret: "DOCKER_USERNAME"
password:
from_secret: "DOCKER_PASSWORD"