Skip to content

Commit

Permalink
remove image vendoring workflows for vector, buildkit, and buildkit-r…
Browse files Browse the repository at this point in the history
…ootless (#249)

* remove image vendoring workflows for vector, buildkit, and buildkit-rootless, rm buildkit dockerfile
  • Loading branch information
ddl-kfrench authored Nov 1, 2024
1 parent 3638340 commit 005615c
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 283 deletions.
49 changes: 0 additions & 49 deletions .github/actions/vendor-docker-image/action.yml

This file was deleted.

89 changes: 0 additions & 89 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,95 +78,6 @@ jobs:
password: ${{ secrets.QUAY_PASSWORD }}
platforms: ${{ env.BUILD_PLATFORMS }}

vendor-buildkit-rootless:
runs-on: ubuntu-latest
needs: build
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')
steps:
- name: Checkout
uses: actions/checkout@v4

- id: image_tag
name: Extract image details from Helm values
uses: mikefarah/[email protected]
with:
cmd: yq '.buildkit.rootlessImage.tag' deployments/helm/hephaestus/values.yaml

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to container registry
uses: docker/login-action@v3
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}

- name: Build and push rootless Buildkit image to Quay
uses: docker/build-push-action@v5
with:
push: true
target: rootless
context: build/buildkit
platforms: ${{ env.BUILD_PLATFORMS }}
build-args: BUILDKIT_TAG=${{ steps.image_tag.outputs.result }}
tags: quay.io/domino/buildkit:${{ steps.image_tag.outputs.result }}

vendor-buildkit:
runs-on: ubuntu-latest
needs: build
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')
steps:
- name: Checkout
uses: actions/checkout@v4

- id: image_tag
name: Extract image details from Helm values
uses: mikefarah/[email protected]
with:
cmd: yq '.buildkit.image.tag' deployments/helm/hephaestus/values.yaml

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to container registry
uses: docker/login-action@v3
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}

- name: Build and push rootless Buildkit image to Quay
uses: docker/build-push-action@v5
with:
push: true
target: root
context: build/buildkit
platforms: ${{ env.BUILD_PLATFORMS }}
build-args: BUILDKIT_TAG=${{ steps.image_tag.outputs.result }}
tags: quay.io/domino/buildkit:${{ steps.image_tag.outputs.result }}

vendor-vector:
runs-on: ubuntu-latest
needs: build
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Push Vector image to Quay
uses: ./.github/actions/vendor-docker-image
with:
query: ".controller.vector.image"
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}

helm:
runs-on: ubuntu-latest
needs: docker
Expand Down
105 changes: 0 additions & 105 deletions .github/workflows/security.yml

This file was deleted.

10 changes: 0 additions & 10 deletions build/README.md

This file was deleted.

30 changes: 0 additions & 30 deletions build/buildkit/Dockerfile

This file was deleted.

0 comments on commit 005615c

Please sign in to comment.