Skip to content

Merge pull request #69 from skni-kod/feature/#67-add-healthcheck-in-d… #7

Merge pull request #69 from skni-kod/feature/#67-add-healthcheck-in-d…

Merge pull request #69 from skni-kod/feature/#67-add-healthcheck-in-d… #7

Workflow file for this run

on:
push:
branches:
- main # Uruchamia workflow po pushu do brancha 'main', co obejmuje merge pull requestów
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile
push: true
tags: skitskni/api:latest