Skip to content

Merge branch 'master' of https://github.com/SeymenNW/PricelyWASM #4

Merge branch 'master' of https://github.com/SeymenNW/PricelyWASM

Merge branch 'master' of https://github.com/SeymenNW/PricelyWASM #4

Workflow file for this run

name: Pricely Backend
on:
push:
branches: master
paths:
- PricelyAPI/**
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 pricelyapi . -f PricelyAPI/Dockerfile --tag ${{ secrets.DOCKER_HUB_USERNAME }}/pricelyapi
- name: Push the Docker image
run: |
docker push ${{ secrets.DOCKER_HUB_USERNAME }}/pricelyapi