Skip to content

feat: add github actions #6

feat: add github actions

feat: add github actions #6

Workflow file for this run

name: Commit
on: push
jobs:
container:
name: Container image
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
# - name: GitHub Package Registry
# uses: aevea/action-kaniko@master
# with:
# registry: docker.pkg.github.com
# password: ${{ secrets.GITHUB_TOKEN }}
# image: phoenix
# # cache: true
# # cache_registry: cache
# tag: ${{ github.sha }}
- name: Dockerhub
uses: aevea/action-kaniko@master
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
image: kiwicom/phoenix
# cache: true
# cache_registry: kiwicom/cache
tag: ${{ github.sha }}