Skip to content

Commit

Permalink
Update publish-frontend-docker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rhit-windsors committed Nov 14, 2024
1 parent 190ea82 commit f326bf9
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/publish-frontend-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ jobs:
steps:
- name: Check out the repo
uses: actions/checkout@v4
with:
ref: development

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

- name: Log in to Docker Hub
uses: docker/login-action@v2
Expand All @@ -46,13 +51,15 @@ jobs:

- name: Build and push Docker image
id: push
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
context: ./apps/frontend
file: ./apps/frontend/frontend.Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
build-args: |
MONGODB_PORT=${{ secrets.MONGODB_PORT }}
MONGODB_USERNAME=${{ secrets.MONGODB_USERNAME }}
Expand Down

0 comments on commit f326bf9

Please sign in to comment.