mirror of
https://github.com/Threnklyn/wg-ui.git
synced 2026-06-07 14:03:33 +02:00
27 lines
1013 B
YAML
27 lines
1013 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
|
|
- tar czf wireguard-ui-linux-amd64-latest.tar.gz ./wireguard-ui
|
|
- buildkite-agent artifact upload wireguard-ui-linux-amd64-latest.tar.gz
|
|
- 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
|