Skip to content

Commit

Permalink
chore: test the simplest pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
kainlite committed Sep 2, 2024
1 parent e90b131 commit dcaf429
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Prepare
id: prep
run: |
DOCKER_IMAGE=${{ secrets.DOCKER_USERNAME }}/${GITHUB_REPOSITORY#*/}
DOCKER_IMAGE=${{ secrets.DOCKER_USERNAME }}/${GITHUB_REPOSITORY#*/}-gh
VERSION=latest
SHORTREF=${GITHUB_SHA::8}
Expand All @@ -35,11 +35,14 @@ jobs:
echo ::set-output name=tags::${TAGS}
echo ::set-output name=docker_image::${DOCKER_IMAGE}
- name: Kaniko build
uses: aevea/action-kaniko@master
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
image: aevea/kaniko
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
cache: true
cache_registry: aevea/cache
password: ${{ secrets.DOCKER_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v6
with:
push: true
tags: $TAGS

0 comments on commit dcaf429

Please sign in to comment.