From 31cab7e7b16def2b03fc507f9c27cef325a06535 Mon Sep 17 00:00:00 2001 From: James McKinney <26463+jpmckinney@users.noreply.github.com> Date: Mon, 25 Nov 2024 23:57:29 -0500 Subject: [PATCH] ci: Reuse workflow for docker --- docs/docker/samples/docker.yml | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/docs/docker/samples/docker.yml b/docs/docker/samples/docker.yml index bceb76b..d2c1bec 100644 --- a/docs/docker/samples/docker.yml +++ b/docs/docker/samples/docker.yml @@ -7,23 +7,4 @@ on: - completed jobs: docker: - if: ${{ github.event.workflow_run.conclusion == 'success' }} - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - # https://github.com/docker/login-action#github-container-registry - - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - # https://github.com/docker/setup-buildx-action#usage - - uses: docker/setup-buildx-action@v3 - # https://github.com/docker/build-push-action#usage - - uses: docker/build-push-action@v6 - with: - push: true - tags: | - ghcr.io/${{ github.repository }}:latest - cache-from: type=gha - cache-to: type=gha,mode=max + uses: open-contracting/.github/.github/workflows/docker-single.yml@main