This commit is contained in:
parent
f90a98c4f9
commit
583ea10e2d
1 changed files with 15 additions and 8 deletions
|
@ -15,6 +15,8 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
fetch-depth: 1
|
||||||
|
clean: true
|
||||||
|
|
||||||
- name: Log in to registry
|
- name: Log in to registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
|
@ -29,12 +31,17 @@ jobs:
|
||||||
with:
|
with:
|
||||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build image
|
||||||
uses: docker/build-push-action@v5
|
uses: yinheli/act-kaniko@v1
|
||||||
with:
|
with:
|
||||||
context: .
|
image: ${{ env.IMAGE_NNAME }}
|
||||||
push: true
|
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
# - name: Build and push Docker image
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
# uses: docker/build-push-action@v5
|
||||||
platforms: |
|
# with:
|
||||||
linux/amd64
|
# context: .
|
||||||
|
# push: true
|
||||||
|
# tags: ${{ steps.meta.outputs.tags }}
|
||||||
|
# labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
# platforms: |
|
||||||
|
# linux/amd64
|
||||||
|
|
Loading…
Reference in a new issue