ci: trigger with custom config

This commit is contained in:
Supan Adit Pratama 2023-03-05 20:37:00 +07:00
parent fd4bd32967
commit 292c190606

View File

@ -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