mirror of
https://github.com/supanadit/todo.git
synced 2024-11-24 11:16: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:
|
||||
build:
|
||||
docker:
|
||||
- image: cimg/base:2022.05
|
||||
auth:
|
||||
username: supanadit
|
||||
password: $DOCKER_HUB_PASS
|
||||
steps:
|
||||
- checkout
|
||||
- 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