fix: finish!

This commit is contained in:
2024-11-19 20:02:49 -05:00
parent a677416722
commit 91741b38a1

View File

@@ -3,7 +3,10 @@ name: Build OCI Image
on: on:
workflow_dispatch: workflow_dispatch:
push: push:
branches: main branches:
- main
tags:
- 'v*'
jobs: jobs:
docker: docker:
@@ -21,29 +24,18 @@ jobs:
type=sha type=sha
type=ref,event=branch type=ref,event=branch
# - name: Login to Harbor - name: Login to Harbor
# uses: docker/login-action@v3 uses: docker/login-action@v3
# with: with:
# 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 id: buildx
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v3
# with: - name: Build and push
# endpoint: builders uses: docker/build-push-action@v6
# - name: Build and push with:
# uses: docker/build-push-action@v6 push: true
# with: tags: ${{ steps.meta.outputs.tags }}
# push: true labels: ${{ steps.meta.outputs.labels }}
# tags: ${{ steps.meta.outputs.tags }}
# labels: ${{ steps.meta.outputs.labels }}