Skip to content

Commit

Permalink
update action for #8
Browse files Browse the repository at this point in the history
  • Loading branch information
manulera committed Oct 18, 2024
1 parent c0e3cdf commit 404207f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/deploy_dockerhub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,19 @@ jobs:
images: manulera/shareyourcloning

- name: Build and push Docker image
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: manulera/shareyourcloning:latest
labels: ${{ steps.meta.outputs.labels }}

- name: Build and push Docker image
uses: docker/[email protected]
with:
context: .
push: true
tags: manulera/shareyourcloning:syc-base
labels: ${{ steps.meta.outputs.labels }}
build-args: |
FRONTEND_TAG=syc-base
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM manulera/shareyourcloningfrontend AS frontend
ARG FRONTEND_TAG="latest"

FROM manulera/shareyourcloningfrontend:${FRONTEND_TAG} AS frontend

FROM manulera/shareyourcloningbackend AS backend
WORKDIR /home/backend
Expand Down

0 comments on commit 404207f

Please sign in to comment.