Skip to content

KB-52 fix issue with Bad Request on schedule status, add noreferrer t… #100

KB-52 fix issue with Bad Request on schedule status, add noreferrer t…

KB-52 fix issue with Bad Request on schedule status, add noreferrer t… #100

Workflow file for this run

name: Build schedule.kpi.ua
on:
push:
branches:
- master
- staging
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Docker Login
uses: docker/login-action@v1.10.0
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
logout: true
- name: Checkout
uses: actions/checkout@v2.4.0
with:
repository: ${{ github.repository }}
- name: Build Docker image
run: |
now=$(date +%Y%m%d%H%M%S)
tag1="kpiua/schedule.kpi.ua:$now"
tag2="kpiua/schedule.kpi.ua:latest"
docker build ./ --file ./Dockerfile --tag $tag1 --tag $tag2
docker push $tag1
docker push $tag2