This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::env; | |
#[cfg(feature = "httpcache")] | |
use octorust::http_cache::FileBasedCache; | |
use octorust::{ | |
auth::{Credentials, InstallationTokenGenerator, JWTCredentials}, | |
Client, | |
}; | |
#[tokio::main] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WARNING: Image reference ghcr.io/kernel-patches/runner:nightly-x86_64 uses a tag, not a digest, to identify the image to sign. | |
This can lead you to sign a different image than the intended one. Please use a | |
digest (example.com/ubuntu@sha256:abc123...) rather than tag | |
(example.com/ubuntu:latest) for the input to cosign. The ability to refer to | |
images by tag will be removed in a future release. | |
Note that there may be personally identifiable information associated with this signed artifact. | |
This may include the email address associated with the account with which you authenticate. | |
This information will be used for signing this artifact and will be stored in public transparency logs and cannot be removed later. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/github/src/actions.rs b/github/src/actions.rs | |
index 305023a..607f193 100644 | |
--- a/github/src/actions.rs | |
+++ b/github/src/actions.rs | |
@@ -34,7 +34,7 @@ impl Actions { | |
let url = self.client.url( | |
&format!( | |
"/orgs/{}/actions/permissions", | |
- crate::progenitor_support::encode_path(org), | |
+ crate::progenitor_support::encode_path(&org.to_string()), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/github/src/actions.rs b/github/src/actions.rs | |
index 305023a..607f193 100644 | |
--- a/github/src/actions.rs | |
+++ b/github/src/actions.rs | |
@@ -34,7 +34,7 @@ impl Actions { | |
let url = self.client.url( | |
&format!( | |
"/orgs/{}/actions/permissions", | |
- crate::progenitor_support::encode_path(org), | |
+ crate::progenitor_support::encode_path(&org.to_string()), |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Cargo.lock b/Cargo.lock | |
index ff26a3c..e85797e 100644 | |
--- a/Cargo.lock | |
+++ b/Cargo.lock | |
@@ -325,6 +325,7 @@ dependencies = [ | |
"serde", | |
"serde_json", | |
"serde_urlencoded", | |
+ "thiserror", | |
"tokio", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[17:34:10] chantra@worktop:/tmp $ docker history myoung34/github-runner:latest | |
ID CREATED CREATED BY SIZE COMMENT | |
3313b08ffd81 30 minutes ago CMD ["./bin/Runner.Listener" "run" "--star... 0 B buildkit.dockerfile.v0 | |
<missing> 30 minutes ago ENTRYPOINT ["/entrypoint.sh"] 0 B buildkit.dockerfile.v0 | |
<missing> 30 minutes ago RUN |2 GH_RUNNER_VERSION=2.301.1 TARGETPLA... 12.8 kB buildkit.dockerfile.v0 | |
<missing> 30 minutes ago COPY token.sh entrypoint.sh app_token.sh /... 12.8 kB buildkit.dockerfile.v0 | |
<missing> 30 minutes ago RUN |2 GH_RUNNER_VERSION=2.301.1 TARGETPLA... 444 MB buildkit.dockerfile.v0 | |
<missing> 30 minutes ago COPY install_actions.sh /actions-runner # ... 2.56 kB buildkit.dockerfile.v0 | |
<missing> 30 minutes ago WORKDIR /actions-runner 1.54 kB buildkit.dockerfile.v0 | |
<missing> 30 minutes ago SHELL [/bin/bash -o pipefail -c] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/specs/github/api.github.com.json b/specs/github/api.github.com.json | |
index 2d1fb6f..e8a930f 100644 | |
--- a/specs/github/api.github.com.json | |
+++ b/specs/github/api.github.com.json | |
@@ -20156,7 +20156,7 @@ | |
"$ref": "#/components/parameters/page" | |
}, | |
{ | |
- "$ref": "#/components/parameters/created" | |
+ "$ref": "#/components/parameters/created-range" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo docker build . | |
Sending build context to Docker daemon 2.048kB | |
Step 1/7 : FROM s390x/ubuntu:20.04 | |
---> 702f00d88840 | |
Step 2/7 : RUN md5sum /etc/passwd /etc/group | |
---> Running in 5a4fc97bc7ec | |
9911b793a6ca29ad14ab9cb40671c5d7 /etc/passwd | |
c9d6bd0de0bc1fd673b2b09e14c65277 /etc/group | |
Removing intermediate container 5a4fc97bc7ec | |
---> d85544d918b6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM s390x/ubuntu:20.04 | |
RUN md5sum /etc/passwd /etc/group | |
RUN cat /etc/passwd | |
RUN cat /etc/group | |
RUN addgroup --system kvm | |
RUN md5sum /etc/group | |
RUN cat /etc/group |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#18 [stage-1 10/14] RUN echo "Defaults env_keep += "DEBIAN_FRONTEND"" >>/etc/sudoers | |
#18 DONE 0.1s | |
#19 [stage-1 11/14] RUN addgroup --system kvm | |
#19 0.504 Adding group `kvm' (GID 101) ... | |
#19 0.576 Done. | |
#19 DONE 0.6s | |
#20 [stage-1 12/14] RUN usermod -a -G kvm runner | |
#0 0.102 usermod: group 'kvm' does not exist |