Created
December 15, 2019 16:33
-
-
Save srfrnk/f3c6af7ff2c0848ff55dceae51bc554d to your computer and use it in GitHub Desktop.
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 | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Login to registry | |
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login docker.pkg.github.com -u ${{ github.actor }} --password-stdin | |
- name: Build image | |
run: | | |
make docker-image | |
- name: Push image | |
run: | | |
REPOSITORY=${{ github.repository }} make docker-push |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment