Skip to content

Commit

Permalink
Merge pull request #63 from Wil-JsDev/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
Wil-JsDev authored Feb 3, 2025
2 parents 20a14ff + b06d1de commit 5f00de5
Show file tree
Hide file tree
Showing 2 changed files with 842 additions and 1 deletion.
32 changes: 32 additions & 0 deletions .github/workflows/docker-image-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Docker image CI dev

on:
pull_request:
branches: [ "dev" ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Git Semantic Version
uses: PaulHatch/semantic-version@v4.0.3
with:
major_pattern: "major"
minor_pattern: "feat"
format: "${major}.${minor}.${patch}-prerelease ${increment}"
id: version

- name: Docker Build
env:
NEW_VERSION: ${{ steps.version.outputs.version }}
run: |
docker build -t wdelacruzdev/cuidandopaws-backend:$NEW_VERSION .
docker build -t wdelacruzdev/cuidandopaws-backend:latest .
Loading

0 comments on commit 5f00de5

Please sign in to comment.