Skip to content

feat: add github actions #3

feat: add github actions

feat: add github actions #3

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: jgrgicevic/phoenix
# cache: true
# cache_registry: kiwicom/cache
tag: ${{ github.sha }}