This repository has been archived by the owner on Oct 2, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 692
Error while pushing with container_push
#1413
Comments
sgammon
added a commit
to sgammon/elide-archive
that referenced
this issue
Feb 5, 2020
- Add Java container target - Add example push command (currently blocked on bazelbuild/rules_docker#1413)
Nevermind, the |
sgammon
added a commit
to sgammon/elide-archive
that referenced
this issue
Feb 6, 2020
* Feature: Packaging This changeset introduces initial packaging for Gust, and for apps that use Gust. Changes so far: - [x] Fixup package for eventual publish to `npm` - [x] Add support for GitHub packages - [x] Add support for `rules_docker` targets - [x] Add support for tarball targets * Update Micronaut -> 1.3.0 * Upgrade Yarn dependencies * Upgrade Bazel dependencies * Fixes and functionality for crosslib builds - Fix defs when used in a cross-lib context - Fix DOM test - Tighten up DualStackTest * Initial support for container targets - Add Java container target - Add example push command (currently blocked on bazelbuild/rules_docker#1413) * Re-enable container tag via BUILD_SCM_VERSION * Fix workspace status command file * Working container build-and-run flow - Ability to build Java app containers, and push them to GCR - Tested containers locally (manually for now) * Update fork of rules_closure * Remove forced JDK8 build flags * Update J2CL with static bootclasspath * Update rules_graal with new attrs for debugging * Initial build flow for Graal native binary targets - Setup build lib - Attach to Graal image - Override default compiler path (workaround for Bazel bug) * Re-enable disk caching in CI * Native binary support, with container image - Support building via `native-image` - Support pushing to container repo for native image - No cross-platform build support yet (oracle/graal#407) * Fix injected testdeps * Don't enable native targets without a flag * Add CI routine for baking samples * Cleaner CI flow * Attempt GCR auth fix, flush keys * Another credentials fix * Fix Bazel label in regular CI job * Try auth via gcloud * Explicitly activate gcloud key * Apply new auth to sample image build * Fixup key paths in CI * Move GCP install step up in CI flow * Cleanup CI configs * Use relative access to service key from env * Unify image bake, restore Docker index pull * Add base container build file * Use new base container
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello
rules_docker
peeps,I'm building a
java_image
target, with no sources (butruntime_deps
and amain_class
), and I am having some issues pushing it withcontainer_push
.Here is the rough layout of my
BUILD
file:I then run this with the following command line:
echo "2.0.0" > .bazelversion && bazelisk run -s //:app-image-push
The above fails, with the following two errors:
flag provided but not defined: -node_options
This would imply the arguments provided to
pusher
aren't correct? Which appear as below:I've tried removing
BUILD_SCM_VERSION
which is provided by my workspace status command, but that doesn't change anything. I've also triedOCI
andDocker
as formats.I can't actually seem to find where
-node_options
is passed, and to what, because it isn'tpusher
, but it's involved somewhere/somehow.Could someone help me get this working?
EDIT: adding
srcs
doesn't seem to help, either.The text was updated successfully, but these errors were encountered: