mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 13:50:13 +00:00
fixes for name of qcow2 image
This commit is contained in:
8
.github/workflows/flame.yml
vendored
8
.github/workflows/flame.yml
vendored
@ -77,7 +77,7 @@ jobs:
|
|||||||
if: inputs.rebuild && inputs.action != 'destroy'
|
if: inputs.rebuild && inputs.action != 'destroy'
|
||||||
run: |
|
run: |
|
||||||
ls -lh result/
|
ls -lh result/
|
||||||
echo "IMAGE_NAME=$(ls result/nixos-qcow-image-*.qcow*) >> $GITHUB_ENV
|
echo "IMAGE_NAME=$(ls result/nixos.qcow2) >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Upload Image to S3
|
- name: Upload Image to S3
|
||||||
if: inputs.rebuild && inputs.action != 'destroy'
|
if: inputs.rebuild && inputs.action != 'destroy'
|
||||||
@ -89,12 +89,12 @@ jobs:
|
|||||||
uses: oracle-actions/run-oci-cli-command@v1.3.2
|
uses: oracle-actions/run-oci-cli-command@v1.3.2
|
||||||
with:
|
with:
|
||||||
command: |
|
command: |
|
||||||
oci os object put \
|
os object put \
|
||||||
--namespace "masur" \
|
--namespace "idptr5akf9pf" \
|
||||||
--bucket-name "noahmasur-images" \
|
--bucket-name "noahmasur-images" \
|
||||||
--name "nixos.qcow2" \
|
--name "nixos.qcow2" \
|
||||||
--file "${IMAGE_NAME}" \
|
--file "${IMAGE_NAME}" \
|
||||||
--part-size 128 # Optional: Specify part size in MiB for multipart uploads, default is 128 MiB
|
--part-size 128 \ # Optional: Specify part size in MiB for multipart uploads, default is 128 MiB
|
||||||
--parallel-upload-count 5 # Optional: Number of parallel uploads, default is 3
|
--parallel-upload-count 5 # Optional: Number of parallel uploads, default is 3
|
||||||
|
|
||||||
# Login to AWS
|
# Login to AWS
|
||||||
|
@ -34,7 +34,7 @@ variable "instance_shape" {
|
|||||||
variable "object_storage_namespace" {
|
variable "object_storage_namespace" {
|
||||||
description = "Your OCI Object Storage namespace (usually your tenancy name)."
|
description = "Your OCI Object Storage namespace (usually your tenancy name)."
|
||||||
type = string
|
type = string
|
||||||
default = "masur"
|
default = "idptr5akf9pf"
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "object_storage_bucket_name" {
|
variable "object_storage_bucket_name" {
|
||||||
|
Reference in New Issue
Block a user