mirror of
https://github.com/Threnklyn/wg-ui.git
synced 2026-06-07 06:03:30 +02:00
25 lines
864 B
YAML
25 lines
864 B
YAML
steps:
|
|
- name: Build container image
|
|
branches: "!master"
|
|
agents:
|
|
queue: default
|
|
os: linux
|
|
commands:
|
|
- buildah bud --format=docker --layers -f Dockerfile .
|
|
- name: Build & push container image
|
|
branches: "master"
|
|
agents:
|
|
queue: default
|
|
os: linux
|
|
commands:
|
|
- buildah bud --format=docker --layers -t embarkstudios/wireguard-ui:latest -f Dockerfile .
|
|
- buildah push --format=v2s2 --authfile /root/.dockerhub/config.json embarkstudios/wireguard-ui:latest
|
|
- name: Build and push debug container image
|
|
branches: "master"
|
|
agents:
|
|
queue: default
|
|
os: linux
|
|
commands:
|
|
- buildah bud --format=docker --layers -t embarkstudios/wireguard-ui:debug -f Dockerfile.debug .
|
|
- buildah push --format=v2s2 --authfile /root/.dockerhub/config.json embarkstudios/wireguard-ui:debug
|