diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml new file mode 100644 index 0000000..17186a2 --- /dev/null +++ b/.github/workflows/push.yaml @@ -0,0 +1,30 @@ +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 }}