24 lines
586 B
YAML
24 lines
586 B
YAML
|
|
steps:
|
|
build:
|
|
image: ubuntu:latest
|
|
environment:
|
|
- DEBIAN_FRONTEND=noninteractive
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
commands:
|
|
- apt-get update && apt-get install -y make docker-buildx curl file unzip
|
|
- make build
|
|
push:
|
|
image: ubuntu:latest
|
|
environment:
|
|
- DEBIAN_FRONTEND=noninteractive
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
commands:
|
|
- apt-get update && apt-get install -y make docker-buildx
|
|
- make push
|
|
secrets: [ registry_password ]
|
|
when:
|
|
- event: tag
|