Skip to content

[Snyk] Fix for 1 vulnerabilities #37

[Snyk] Fix for 1 vulnerabilities

[Snyk] Fix for 1 vulnerabilities #37

name: Docker Image CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: docker login
env:
DOCKER_USER: ${{secrets.DOCKER_USER}}
DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}}
run: |
docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
- name: Build the Docker image
run: docker build . --file Dockerfile --tag exodiel/produmax-api:latest
- name: Docker Push
run: docker push exodiel/produmax-api