feat: wtf is happening
This commit is contained in:
@@ -27,14 +27,29 @@ jobs:
|
|||||||
# registry: harbor.yadunut.dev
|
# registry: harbor.yadunut.dev
|
||||||
# username: ${{ secrets.HARBOR_USERNAME }}
|
# username: ${{ secrets.HARBOR_USERNAME }}
|
||||||
# password: ${{ secrets.HARBOR_PASSWORD }}
|
# password: ${{ secrets.HARBOR_PASSWORD }}
|
||||||
|
- name: Set up Docker Context for Buildx
|
||||||
|
id: buildx-context
|
||||||
|
run: |
|
||||||
|
export DOCKER_HOST=tcp://docker:2376/
|
||||||
|
export DOCKER_TLS_CERTDIR="/certs"
|
||||||
|
export DOCKER_TLS_VERIFY=1
|
||||||
|
export DOCKER_CERT_PATH="/certs/client"
|
||||||
|
docker context create builders
|
||||||
|
|
||||||
- name: Setup Docker Buildx
|
- name: Setup Docker Buildx
|
||||||
|
id: buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
with:
|
with:
|
||||||
endpoint: "tcp://localhost:2376/"
|
# buildkitd-flags: --debug
|
||||||
|
endpoint: builders
|
||||||
- name: Build and push
|
# env:
|
||||||
uses: docker/build-push-action@v6
|
# DOCKER_HOST: "tcp://docker:2376/"
|
||||||
with:
|
# DOCKER_TLS_CERTDIR: "/certs"
|
||||||
push: true
|
# DOCKER_TLS_VERIFY: 1
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
# DOCKER_CERT_PATH: "/certs/client"
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
# - name: Build and push
|
||||||
|
# uses: docker/build-push-action@v6
|
||||||
|
# with:
|
||||||
|
# push: true
|
||||||
|
# tags: ${{ steps.meta.outputs.tags }}
|
||||||
|
# labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
|||||||
Reference in New Issue
Block a user