Files
CrawlFlix-Front/.woodpecker.yaml
Joris Bertomeu 715c171e24
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
fix woodpecker file
2024-09-26 17:12:23 +02:00

36 lines
984 B
YAML

# Build and publish Docker images for multiple architectures.
#
# Pushing an image to codeberg's container registry
# The package owner will be the repo owner.
#
# This config also shows usage of yaml aliases and
# was taken from https://codeberg.org/6543/docker-images/src/commit/37e29c227717c1c07d2776cddcf14725bf952875/.woodpecker/hello.yml
when:
- event: [push, manual]
branch: main
variables:
- &file Dockerfile
- &registry http://192.168.1.230:5000
- &repo 192.168.1.230:5000/bertomlab/crawlflix/front
steps:
publish:
image: woodpeckerci/plugin-docker-buildx
settings:
dockerfile: *file
registry: *registry
repo: *repo
insecure: true
platforms: linux/amd64
buildkit_config: |
[registry."192.168.1.230:5000"]
http = true
tags:
- latest
- ${CI_COMMIT_SHA}
username:
from_secret: docker_registry_username
password:
from_secret: docker_registry_password