Skip to content

Commit

Permalink
change tags to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
norali12 committed Sep 25, 2024
1 parent 86101ef commit 03b2958
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: CI/CD Pipeline
on:
push:
tags:
- v*
# - v*
- latest

jobs:
Expand Down Expand Up @@ -33,10 +33,10 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_ACCESS_TOKEN}}

- name: Extract the latest Git tag
run: |
echo "TAG=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV
echo $TAG
# - name: Extract the latest Git tag
# run: |
# echo "TAG=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV
# echo $TAG

- name: Build and Push Backend Image
uses: docker/build-push-action@v6
Expand Down Expand Up @@ -70,8 +70,8 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_ACCESS_TOKEN}}

- name: Extract the latest Git tag
run: echo "TAG=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV
# - name: Extract the latest Git tag
# run: echo "TAG=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV

- name: Build and Push frontend Image
uses: docker/build-push-action@v6
Expand Down

0 comments on commit 03b2958

Please sign in to comment.