Skip to content

Commit

Permalink
feat: add github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
gjuro87 committed Dec 8, 2023
1 parent 863c16d commit 6010286
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
@@ -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: kiwicom/phoenix
cache: true
cache_registry: kiwicom/cache
tag: ${{ github.sha }}

0 comments on commit 6010286

Please sign in to comment.