Skip to content

Instantly share code, notes, and snippets.

@matsuu
Last active February 24, 2021 11:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matsuu/614d3ae1875dbf2db64ab74f89bc690f to your computer and use it in GitHub Desktop.
Save matsuu/614d3ae1875dbf2db64ab74f89bc690f to your computer and use it in GitHub Desktop.
Github Actions Workflow for HighLoad Cup 2021
name: Build and Publish Docker for HighLoad Cup 2021
on:
push:
branches:
- main
- master
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Login to HighLoad Cup Registry
uses: docker/login-action@v1
with:
registry: stor.highloadcup.ru
username: ${{ secrets.LOGIN }}
password: ${{ secrets.PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v2
with:
push: true
tags: stor.highloadcup.ru/rally/${{ secrets.TAG }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment