aboutsummaryrefslogtreecommitdiffstats
path: root/.woodpecker/build.yml
blob: 33c87959f02c32238f43b19c5e9ee62e9def957d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
depends_on:
  - lint

variables: # https://woodpecker-ci.org/docs/usage/advanced-usage
  - &VERSION 'v1.0.${CI_PIPELINE_NUMBER}' # wird für die Docker-Tags verwendet

steps:
  docker_build_and_push_selfhosted:
    image: "woodpeckerci/plugin-docker-buildx:3.0.1@sha256:c7ac0b01243466bef93863591940ce5eacf59759e9045433a6fc28d20c696d01"
    privileged: true
    settings:
      dockerfile: Dockerfile
      repo: registry.mgrote.net/mdns-repeater-mikrotik
      registry: registry.mgrote.net
      tags:
        - *VERSION
        - ${CI_COMMIT_SHA:0:8}
        - ${CI_COMMIT_BRANCH}
        - latest
      platforms:
        - linux/arm64
        - linux/amd64