Skip to content

Commit

Permalink
publish
Browse files Browse the repository at this point in the history
  • Loading branch information
olegdayo committed Dec 1, 2024
1 parent 097119c commit 1944c2f
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,43 @@ jobs:
tags: ${{ secrets.DOCKER_USERNAME }}/validator:${{ github.sha }}
labels: ${{ steps.meta.outputs.labels }}

web-app:
runs-on: ubuntu-latest
steps:
- name: Check Out
uses: actions/checkout@v4

- name: Log in Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}

- name: Set up Docker BuildX
uses: docker/setup-buildx-action@v3

- name: Extract WebApp Metadata
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ secrets.DOCKER_USERNAME }}/web-app

- name: Build and Push WebApp
uses: docker/build-push-action@v6
with:
context: ./code/front/web-app
file: ./code/front/web-app/Dockerfile
push: true
tags: ${{ secrets.DOCKER_USERNAME }}/web-app:${{ github.sha }}
labels: ${{ steps.meta.outputs.labels }}

operations:
runs-on: ubuntu-latest
needs:
- gateway
- integrator
- validator
- web-app
steps:
- name: Check Out
uses: actions/checkout@v4
Expand Down

0 comments on commit 1944c2f

Please sign in to comment.