Skip to content

Commit

Permalink
Edit dicodingacademy#10 circleci config.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
slehmadi committed Oct 5, 2023
1 parent fb80882 commit 7e477cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
- image: ubuntu-2204:2023.02.1
steps:
- checkout
- run: echo $DOCKER_PASSWORD | docker login --username slehmadi --password-stdin
- run: docker run --rm --interactive hadolint/hadolint < Dockerfile
# Job 1 bernama test, dengan menggunakan docker yang berbasis image cimg/go:1.19
# Langkah yang dilakukan:
Expand All @@ -41,7 +42,7 @@ jobs:
- image: ubuntu-2204:2023.02.1
steps:
- checkout
- run: echo "$PAT" | docker login ghcr.io --username slehmadi --password-stdin
- run: echo "$GHCR_IO_PASSWORD" | docker login ghcr.io --username slehmadi --password-stdin
- run: docker build -t ghcr.io/slehmadi/karsajobs:latest .
- run: docker push ghcr.io/slehmadi/karsajobs:latest

Expand Down

0 comments on commit 7e477cc

Please sign in to comment.