Skip to content

Commit

Permalink
Add frontend image build and push
Browse files Browse the repository at this point in the history
  • Loading branch information
cc-a committed Aug 2, 2023
1 parent d01bb21 commit a813f37
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,16 @@ jobs:
with:
push: true
tags: ${{steps.meta.outputs.tags }}
- uses: actions/checkout@v3
- name: Get image frontend metadata
id: frontend-meta
uses: docker/metadata-action@v4
with:
images: ghcr.io/${{ github.repository }}
tags: type=raw,value=frontend-main
- name: Build and push frontend Docker image
uses: docker/build-push-action@v4
with:
context: ./docker/nginx
push: true
tags: ${{steps.frontend-meta.outputs.tags }}

0 comments on commit a813f37

Please sign in to comment.