mirror of
https://github.com/supanadit/todo.git
synced 2024-11-24 19:26:22 +00:00
ci: trigger with custom config
This commit is contained in:
parent
fd4bd32967
commit
292c190606
@ -1,9 +1,18 @@
|
|||||||
version: 2.1
|
version: 2
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
docker:
|
docker:
|
||||||
- image: cimg/base:2022.05
|
- image: cimg/base:2022.05
|
||||||
auth:
|
steps:
|
||||||
username: supanadit
|
- checkout
|
||||||
password: $DOCKER_HUB_PASS
|
- setup_remote_docker
|
||||||
|
- run:
|
||||||
|
name: Build Docker image
|
||||||
|
command: |
|
||||||
|
docker build -t supanadit/todo:latest .
|
||||||
|
- run:
|
||||||
|
name: Push Docker image
|
||||||
|
command: |
|
||||||
|
docker login -u supanadit -p $DOCKER_HUB_PASS
|
||||||
|
docker push supanadit/todo:latest
|
||||||
|
Loading…
Reference in New Issue
Block a user