Skip to content

Commit

Permalink
Create frontendflow.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SeymenNW authored Nov 14, 2024
1 parent 2a1ce26 commit 38e2988
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/frontendflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Pricely Frontend

on:
push:
branches: master
paths:
- PricelyWeb/**

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Docker Hub log in
run: echo ${{ secrets.DOCKER_HUB_PASSWORD }} | docker login --username ${{ secrets.DOCKER_HUB_USERNAME }} --password-stdin

- name: Build the Docker image
run: |
docker build -t pricelyweb . -f PricelyWeb/PricelyWeb/Dockerfile --tag ${{ secrets.DOCKER_HUB_USERNAME }}/pricelyweb
- name: Push the Docker image
run: |
docker push ${{ secrets.DOCKER_HUB_USERNAME }}/pricelyweb

0 comments on commit 38e2988

Please sign in to comment.