-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
27 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,36 +36,36 @@ jobs: | |
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
# Tag and build frontend | ||
- name: Extract frontend Docker metadata | ||
id: frontend_meta | ||
uses: docker/[email protected] | ||
with: | ||
images: ${{ env.registry }}/${{ env.repo-owner }}/${{ env.app-name }}/frontend | ||
# # Tag and build frontend | ||
# - name: Extract frontend Docker metadata | ||
# id: frontend_meta | ||
# uses: docker/[email protected] | ||
# with: | ||
# images: ${{ env.registry }}/${{ env.repo-owner }}/${{ env.app-name }}/frontend | ||
|
||
- name: Build and push frontend image | ||
uses: docker/[email protected] | ||
with: | ||
context: ./app/next-client-app | ||
file: ./app/next-client-app/Dockerfile | ||
push: true | ||
platforms: linux/amd64,linux/arm64 | ||
tags: ${{ steps.frontend_meta.outputs.tags }} | ||
# - name: Build and push frontend image | ||
# uses: docker/[email protected] | ||
# with: | ||
# context: ./app/next-client-app | ||
# file: ./app/next-client-app/Dockerfile | ||
# push: true | ||
# platforms: linux/amd64,linux/arm64 | ||
# tags: ${{ steps.frontend_meta.outputs.tags }} | ||
|
||
# Tag and for backend | ||
- name: Extract backend Docker metadata | ||
id: backend_meta | ||
uses: docker/[email protected] | ||
with: | ||
images: ${{ env.registry }}/${{ env.repo-owner }}/${{ env.app-name }}/backend | ||
# # Tag and for backend | ||
# - name: Extract backend Docker metadata | ||
# id: backend_meta | ||
# uses: docker/[email protected] | ||
# with: | ||
# images: ${{ env.registry }}/${{ env.repo-owner }}/${{ env.app-name }}/backend | ||
|
||
- name: Build and push backend image | ||
uses: docker/[email protected] | ||
with: | ||
file: ./app/Dockerfile.deploy | ||
push: true | ||
platforms: linux/amd64,linux/arm64 | ||
tags: ${{ steps.backend_meta.outputs.tags }} | ||
# - name: Build and push backend image | ||
# uses: docker/[email protected] | ||
# with: | ||
# file: ./app/Dockerfile.deploy | ||
# push: true | ||
# platforms: linux/amd64,linux/arm64 | ||
# tags: ${{ steps.backend_meta.outputs.tags }} | ||
|
||
# Tag and for workers | ||
- name: Extract workers Docker metadata | ||
|
@@ -77,7 +77,6 @@ jobs: | |
- name: Build and push workers image | ||
uses: docker/[email protected] | ||
with: | ||
context: ./app/workers | ||
file: ./app/workers/Dockerfile | ||
push: true | ||
platforms: linux/amd64,linux/arm64 | ||
|