Skip to content

Instantly share code, notes, and snippets.

@srfrnk
Created December 15, 2019 16:33
Show Gist options
  • Save srfrnk/f3c6af7ff2c0848ff55dceae51bc554d to your computer and use it in GitHub Desktop.
Save srfrnk/f3c6af7ff2c0848ff55dceae51bc554d to your computer and use it in GitHub Desktop.
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