From 308ed2a076f08b8bad2dd7acbdbddce83bab46cb Mon Sep 17 00:00:00 2001 From: gjuro87 Date: Fri, 8 Dec 2023 16:58:17 +0100 Subject: [PATCH] feat: add github actions --- .github/workflows/push.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/push.yaml diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml new file mode 100644 index 0000000..a2cb282 --- /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: kiwi/phoenix + # cache: true + # cache_registry: kiwicom/cache + tag: ${{ github.sha }}