Skip to content

Merge branch 'russian-landing' of https://github.com/codex-team/hawk.… #85

Merge branch 'russian-landing' of https://github.com/codex-team/hawk.…

Merge branch 'russian-landing' of https://github.com/codex-team/hawk.… #85

name: Build and push docker image
on: [push]
env:
DOCKER_REPO: ${{ secrets.DOCKER_USERNAME }}/hawk-yard
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Build and push docker image
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: ${{ env.DOCKER_REPO }}
tag_with_ref: true
push: ${{ endsWith(github.ref, '/stage') || endsWith(github.ref, '/prod') }}