Compare commits
2 Commits
ba3f891122
...
13f27ef878
Author | SHA1 | Date | |
---|---|---|---|
13f27ef878 | |||
6d70187560 |
|
@ -76,11 +76,11 @@ jobs:
|
|||
|
||||
- name: Push manifests
|
||||
run: |
|
||||
flux push artifact oci://$OCI_REPO/manifests:latest \
|
||||
flux push artifact oci://$OCI_REPO/manifests:${{ gitea.head_ref || gitea.ref_name }} \
|
||||
--path="./manifests.yaml" \
|
||||
--source="$(git config --get remote.origin.url)" \
|
||||
--revision="$(git rev-parse HEAD)" \
|
||||
$(echo "${{ steps.meta.outputs.labels }}" | sed -e 's/^/-a /')
|
||||
|
||||
flux tag artifact oci://$OCI_REPO/manifests:latest \
|
||||
flux tag artifact oci://$OCI_REPO/manifests:${{ gitea.head_ref || gitea.ref_name }} \
|
||||
$(echo "${{ steps.meta.outputs.tags }}" | sed -e 's/^.*:/--tag /')
|
||||
|
|
|
@ -45,10 +45,10 @@ async fn main() -> color_eyre::Result<()> {
|
|||
};
|
||||
|
||||
let http_port = std::env::var("HTTP_PORT")
|
||||
.map(|port| port.parse())
|
||||
.map(|port| port.parse().wrap_err_with(|| format!("HTTP_PORT={port}")))
|
||||
.unwrap_or(Ok(3000))?;
|
||||
let ssh_port = std::env::var("SSH_PORT")
|
||||
.map(|port| port.parse())
|
||||
.map(|port| port.parse().wrap_err_with(|| format!("SSH_PORT={port}")))
|
||||
.unwrap_or(Ok(2222))?;
|
||||
|
||||
let domain =
|
||||
|
|
Loading…
Reference in New Issue
Block a user