diff --git a/.dagger/examples.go b/.dagger/examples.go index ed8274a..08e9d16 100644 --- a/.dagger/examples.go +++ b/.dagger/examples.go @@ -20,8 +20,8 @@ func (m *Cuestomize) PublishExamples( registry string, // +default="workday/cuestomize/cuemodules/cuestomize-examples" repositoryPrefix string, - // +default="latest" - tag string, + // +default="nightly" + version string, // +optional latest bool, // +default="info" @@ -40,7 +40,7 @@ func (m *Cuestomize) PublishExamples( WithEnvVariable("IS_LATEST", latestStr). WithEnvVariable("OCI_USERNAME", username). WithSecretVariable("OCI_PASSWORD", password). - WithExec([]string{"go", "run", "hack/push-examples.go", tag}, dagger.ContainerWithExecOpts{ + WithExec([]string{"go", "run", "hack/push-examples.go", version}, dagger.ContainerWithExecOpts{ RedirectStderr: "stderr.log", }) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 1e5a592..36f04c7 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -4,6 +4,10 @@ on: release: types: [ published, prereleased ] +concurrency: + group: release + cancel-in-progress: true + jobs: prep: name: Prepare