Skip to content

Commit

Permalink
chore: adjust CD file
Browse files Browse the repository at this point in the history
- remove unneeded logic
- update docker push step tag
  • Loading branch information
dhruv-ahuja committed Feb 18, 2024
1 parent 994be88 commit e4d8558
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ jobs:
tags:
# use git tag pattern
type=semver,pattern={{version}}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Debug Tag
run: echo "TAG = ${{steps.meta.outputs.tags}}"
Expand All @@ -53,12 +50,9 @@ jobs:
echo "::set-output name=tag::${{ steps.meta.outputs.tags }}"; fi
shell: bash

- name: Build and push docker image
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
push: true
tags: ${{ steps.determine_tag.outputs.tag }}
# tags: ${{steps.meta.outputs.tags}}
tags: dhruvahuja/backend_burger:${{ steps.determine_tag.outputs.tag }}
labels: ${{steps.meta.outputs.labels}}

0 comments on commit e4d8558

Please sign in to comment.