Skip to content

Commit

Permalink
added new workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
danihagosbl committed May 9, 2024
1 parent f209437 commit eb1de69
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/publish-ghcr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name : Docker Image CI for GHCR

on:
push

jobs:
build_and_publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build and push the image
run: |
docker login --username danihagosbl --password ${{ secrets.GH_PAT }} ghcr.io
docker build . --tag ghcr.io/danihagosbl/emp-api:latest
docker push ghcr.io/danihagosbl/emp-api:latest

0 comments on commit eb1de69

Please sign in to comment.