2023-04-02 12:59:40 +00:00
|
|
|
|
2023-08-13 10:14:09 +00:00
|
|
|
steps:
|
2023-03-05 15:36:42 +00:00
|
|
|
build:
|
2023-04-02 13:05:39 +00:00
|
|
|
image: ubuntu:latest
|
2023-10-29 10:21:51 +00:00
|
|
|
environment:
|
|
|
|
- DEBIAN_FRONTEND=noninteractive
|
2023-10-29 10:07:39 +00:00
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
2023-03-05 15:36:42 +00:00
|
|
|
commands:
|
2023-10-29 10:17:26 +00:00
|
|
|
- apt-get update && apt-get install -y make docker-buildx curl file unzip
|
2023-03-05 15:36:42 +00:00
|
|
|
- make build
|
2023-10-29 10:07:39 +00:00
|
|
|
push:
|
|
|
|
image: ubuntu:latest
|
2023-10-29 10:21:51 +00:00
|
|
|
environment:
|
|
|
|
- DEBIAN_FRONTEND=noninteractive
|
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
2023-10-29 10:07:39 +00:00
|
|
|
commands:
|
2023-10-29 10:21:51 +00:00
|
|
|
- apt-get update && apt-get install -y make docker-buildx
|
2023-04-02 14:08:21 +00:00
|
|
|
- make push
|
2023-04-02 14:27:36 +00:00
|
|
|
secrets: [ registry_password ]
|
2023-10-29 10:07:39 +00:00
|
|
|
when:
|
|
|
|
- event: tag
|