Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
helmecke authored Aug 22, 2019
1 parent a062862 commit 5f9f651
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
on: push
name: Build and Publish
on: push
jobs:
test:
name: Test
build_publish:
name: Build and Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Test
uses: actions/action-builder/shell@master
with:
entrypoint: make
args: test
- name: Lint
uses: actions/action-builder/shell@master
with:
entrypoint: make
args: lint
- name: Build
uses: actions/action-builder/docker@master
with:
entrypoint: make
args: build
- name: Docker Login
uses: actions/docker/login@master
env:
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_REGISTRY_URL: "docker.pkg.github.com"
- name: Publish
uses: actions/action-builder/docker@master
with:
entrypoint: make
args: publish
- uses: actions/checkout@v1
- name: Test
uses: actions/action-builder/shell@master
with:
entrypoint: make
args: test
- name: Lint
uses: actions/action-builder/shell@master
with:
entrypoint: make
args: lint
- name: Build
uses: actions/action-builder/docker@master
with:
entrypoint: make
args: build
- name: Docker Login
uses: actions/docker/login@master
env:
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_REGISTRY_URL: "docker.pkg.github.com"
- name: Publish
uses: actions/action-builder/docker@master
with:
entrypoint: make
args: publish

0 comments on commit 5f9f651

Please sign in to comment.