Files
CrawlFlix-Front/.woodpecker.yaml
Joris Bertomeu 137dc035b1
Some checks failed
ci/woodpecker/manual/woodpecker Pipeline failed
fix woodpecker file
2024-09-26 16:33:44 +02:00

32 lines
894 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
- &repo 192.168.1.230:5000/bertomlab/crawlflix/front
steps:
publish:
image: woodpeckerci/plugin-docker-buildx
settings:
dockerfile: *file
registry: 192.168.1.230:5000
repo: *repo
insecure: true
platforms: linux/arm/v7,linux/arm64/v8,linux/amd64
tags:
- latest
- ${CI_COMMIT_SHA}
username:
from_secret: docker_registry_username
password:
from_secret: docker_registry_password