feat: wtf is happening

This commit is contained in:
2024-11-19 19:49:33 -05:00
parent d2e2a3e073
commit 65f9f74dae

View File

@@ -27,14 +27,29 @@ jobs:
# registry: harbor.yadunut.dev
# username: ${{ secrets.HARBOR_USERNAME }}
# password: ${{ secrets.HARBOR_PASSWORD }}
- name: Set up Docker Buildx
- 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
id: buildx
uses: docker/setup-buildx-action@v3
with:
endpoint: "tcp://localhost:2376/"
- name: Build and push
uses: docker/build-push-action@v6
with:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
# buildkitd-flags: --debug
endpoint: builders
# env:
# DOCKER_HOST: "tcp://docker:2376/"
# DOCKER_TLS_CERTDIR: "/certs"
# DOCKER_TLS_VERIFY: 1
# DOCKER_CERT_PATH: "/certs/client"
# - name: Build and push
# uses: docker/build-push-action@v6
# with:
# push: true
# tags: ${{ steps.meta.outputs.tags }}
# labels: ${{ steps.meta.outputs.labels }}