Skip to content

Commit

Permalink
chore: disable dockerfile example (#605)
Browse files Browse the repository at this point in the history
  • Loading branch information
thesayyn authored May 31, 2024
1 parent 52e44c2 commit 32139d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -155,12 +155,6 @@ jobs:
)
EOF
# the /examples/dockerfile uses buildx to build Dockerfile images which needs to use a docker-container
# builder to work, which does not exist by default. Create one here.
- name: Setup buildx
if: ${{ matrix.os == 'ubuntu-latest' }}
run: bazel run examples/dockerfile:buildx -- create --name container --driver=docker-container

- name: bazel test //...
working-directory: ${{ matrix.folder }}
env:
Expand Down
4 changes: 4 additions & 0 deletions examples/dockerfile/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ run_binary(
],
execution_requirements = {"local": "1"},
out_dirs = ["base"],
tags = ["manual"],
target_compatible_with = [
"@platforms//os:linux",
],
Expand All @@ -35,16 +36,19 @@ run_binary(
oci_image(
name = "image",
base = ":base",
tags = ["manual"],
)

oci_tarball(
name = "tar",
image = ":image",
repo_tags = [],
tags = ["manual"],
)

container_structure_test(
name = "test",
configs = ["test.yaml"],
image = ":image",
tags = ["manual"],
)

0 comments on commit 32139d8

Please sign in to comment.