Skip to content

Commit

Permalink
Merge pull request #15 from mehedikhan72/playing-with-ci-cd
Browse files Browse the repository at this point in the history
lil changes to CD
  • Loading branch information
mehedikhan72 authored Aug 25, 2024
2 parents b1f1f7e + 8c11c29 commit 285a8e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
version:
description: 'Image version'
required: true
default: 'latest'

env:
REGISTRY: "registry.digitalocean.com/pathphindr"
Expand All @@ -22,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Build container image
run: docker build -t $(echo $REGISTRY)/$(echo $IMAGE_NAME):$(echo $GITHUB_SHA | head -c7) .
Expand Down

0 comments on commit 285a8e2

Please sign in to comment.