Skip to content

Commit

Permalink
Fix kaniko builder
Browse files Browse the repository at this point in the history
  • Loading branch information
crstian19 committed Jan 18, 2024
1 parent fc0a33a commit d5fe2d4
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,16 @@ jobs:
- name: Check Out Repo
uses: actions/checkout@v2

- name: Set up Kaniko
uses: GoogleContainerTools/kaniko-action@v1.0.0
- name: Kaniko builder
uses: aevea/action[email protected].0
with:
image: ghcr.io/${{ github.repository }}/docker-acestream-server:latest
context: .
registry: ghcr.io
dockerfile: Dockerfile #
password: ${{ secrets.GITHUB_TOKEN }}
image: kaniko

- name: Log in to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and Push Docker Image
run: |
/kaniko/executor --context ${GITHUB_WORKSPACE} --dockerfile ${GITHUB_WORKSPACE}/Dockerfile --destination ghcr.io/${{ github.repository }}:latest

0 comments on commit d5fe2d4

Please sign in to comment.