Skip to content
This repository has been archived by the owner on Apr 12, 2023. It is now read-only.

Commit

Permalink
fix: conflicts pipeline (#23)
Browse files Browse the repository at this point in the history
* fix: change wrong field name response

* chore: update utilities and CI/CD

* chore: update workflow and remove unnecessary pipeline

* refactor: remove unused code

* chore: update dockerization pipeline

Co-authored-by: Erwindo Sianipar <erwindo.sianipar@thelionparcel.com>
  • Loading branch information
erwindosianipar and Erwindo Sianipar authored Jan 25, 2022
1 parent 714ff39 commit e7ef247
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Workflows Docker Image

on:
push:
branches: [ master ]
branches: [master]

jobs:
build:
Expand All @@ -18,11 +18,19 @@ jobs:
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
run: docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD

- name: Build Docker Image
run: docker build . --file Dockerfile --tag erwindosianipar/api-alkitab:$(date +%s)
- name: docker metadata
id: meta
uses: docker/metadata-action@v3
with:
images: erwindosianipar/api-alkitab

- name: Docker Push Registry
run: docker push erwindosianipar/api-alkitab
- name: docker build push
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

- name: Notify To Telegram
uses: appleboy/telegram-action@master
Expand Down

0 comments on commit e7ef247

Please sign in to comment.