Skip to content

Commit

Permalink
Update Docker publish workflow to include branch name as Docker image…
Browse files Browse the repository at this point in the history
… tag
  • Loading branch information
arpagon committed Mar 17, 2024
1 parent 706047b commit 76f5838
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Docker

on:
push:
branches: [ main ]
branches: [ main, ai-engineers-echo ]
pull_request:
branches: [ main ]
branches: [ main, ai-engineers-echo ]

jobs:
build-and-push:
Expand Down Expand Up @@ -43,4 +43,5 @@ jobs:
context: .
file: ./Dockerfile
push: true
tags: ghcr.io/${{ env.OWNER_LC }}/vocode-next-template:latest
# Use the branch name as the tag for the Docker image
tags: ghcr.io/${{ env.OWNER_LC }}/vocode-next-template:${{ github.ref_name }}

0 comments on commit 76f5838

Please sign in to comment.