Skip to content

Commit

Permalink
ci(backend): fix docker tags
Browse files Browse the repository at this point in the history
  • Loading branch information
mael-app committed Jan 16, 2025
1 parent 28003f0 commit 77cef40
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,16 @@ jobs:
tags: |
${{ secrets.REGISTRY_URL }}/tekbetter/tekbetter-server:latest
${{ secrets.REGISTRY_URL }}/tekbetter/tekbetter-server:${{ github.sha }}
${{ secrets.REGISTRY_URL }}/tekbetter/tekbetter-server:$(date +'%Y%m%d')
- name: Build and push Docker image with dev tag
if: github.ref == 'refs/heads/dev-production'
uses: docker/build-push-action@v4
with:
context: .
push: true
ttags: |
tags: |
${{ secrets.REGISTRY_URL }}/tekbetter/tekbetter-server:development
${{ secrets.REGISTRY_URL }}/tekbetter/tekbetter-server:${{ github.sha }}
${{ secrets.REGISTRY_URL }}/tekbetter/tekbetter-server:$(date +'%Y%m%d')
- name: Logout from Docker Hub
run: docker logout ${{ secrets.REGISTRY_URL }}

0 comments on commit 77cef40

Please sign in to comment.