2024-02-28 14:38:38 +00:00
|
|
|
when:
|
|
|
|
- event: push
|
2024-02-28 14:07:34 +00:00
|
|
|
|
|
|
|
steps:
|
2024-02-28 14:38:38 +00:00
|
|
|
- name: Build & Push
|
2024-06-15 04:59:45 +00:00
|
|
|
image: git.ptr.moe/baalajimaestro/build-runner
|
2024-02-28 14:07:34 +00:00
|
|
|
commands:
|
2024-02-28 14:38:38 +00:00
|
|
|
- /dockerd-entrypoint.sh dockerd 2&> /dev/null &
|
2024-06-15 04:59:45 +00:00
|
|
|
- echo $DOCKER_PASSWORD | docker login git.ptr.moe --username ${CI_REPO_OWNER} --password-stdin
|
2024-02-28 14:07:34 +00:00
|
|
|
- make build-image
|
2024-06-15 04:59:45 +00:00
|
|
|
- docker tag traefik/traefik git.ptr.moe/baalajimaestro/traefik:latest
|
|
|
|
- docker push git.ptr.moe/baalajimaestro/traefik:latest
|
2024-02-28 14:38:38 +00:00
|
|
|
secrets: [ docker_password ]
|
|
|
|
privileged: true
|