Last active
February 24, 2021 11:15
-
-
Save matsuu/614d3ae1875dbf2db64ab74f89bc690f to your computer and use it in GitHub Desktop.
Github Actions Workflow for HighLoad Cup 2021
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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