2020-02-16 23:16:55 +01:00
|
|
|
name: Commit
|
|
|
|
on: push
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
docker:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
name: Build docker image
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@master
|
|
|
|
|
|
|
|
- name: GitHub Package Registry
|
2020-04-25 23:23:21 +02:00
|
|
|
uses: aevea/action-kaniko@master
|
2020-02-16 23:16:55 +01:00
|
|
|
with:
|
|
|
|
registry: docker.pkg.github.com
|
|
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
image: kaniko
|
|
|
|
cache: true
|
|
|
|
cache_registry: cache
|
|
|
|
|
|
|
|
- name: Dockerhub
|
2020-04-25 23:23:21 +02:00
|
|
|
uses: aevea/action-kaniko@master
|
2020-02-16 23:16:55 +01:00
|
|
|
with:
|
|
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
|
|
password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
2020-04-25 23:23:21 +02:00
|
|
|
image: aevea/kaniko
|
2020-02-16 23:16:55 +01:00
|
|
|
cache: true
|
2020-04-25 23:23:21 +02:00
|
|
|
cache_registry: aevea/cache
|