Skip to content

Commit

Permalink
Create build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderPavlenko authored Jan 23, 2021
1 parent ef687f6 commit e1fa210
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: build
on:
push:
branches:
- master
jobs:
build:
if: >
!contains(github.event.head_commit.message, '#skip-ci')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Build and push to Registry
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: ${{ github.event.repository.full_name }}/${{ github.event.repository.name }}
username: ${{ github.actor }}
password: ${{ github.token }}
registry: docker.pkg.github.com
tag_names: true
cache: ${{ !contains(github.event.head_commit.message, '#no-cache') }}

0 comments on commit e1fa210

Please sign in to comment.