Skip to content

Commit e821efe

Browse files
committed
[buildx] replace 'pkgx install' with 'pkgm install'
1 parent d075b79 commit e821efe

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

buildx/dagger.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "buildx",
33
"sdk": "github.com/fluentci-io/daggerverse/deno-sdk@main",
4-
"version": "v0.1.5",
4+
"version": "v0.1.6",
55
"description": "",
66
"author": "Tsiry Sandratraina",
77
"license": "MIT"
8-
}
8+
}

buildx/fluentci.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ authors = [
55
description = "CI/CD Plugin for Buildx"
66
license = "MIT"
77
name = "buildx"
8-
version = "0.1.5"
8+
version = "0.1.6"

buildx/plugin/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
edition = "2021"
33
name = "buildx"
4-
version = "0.1.5"
4+
version = "0.1.6"
55

66
[lib]
77
crate-type = ["cdylib"]

buildx/plugin/src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ pub fn setup(_args: String) -> FnResult<String> {
2626
let stdout = dag()
2727
.pipeline("build")?
2828
.pkgx()?
29-
.with_exec(vec!["pkgx", "install", "docker", "wget"])?
29+
.with_exec(vec!["pkgm", "install", "docker", "wget"])?
3030
.with_exec(vec![&format!(
3131
r#"
3232
if [ ! -f $HOME/.docker/cli-plugins/docker-buildx ]; then
@@ -69,7 +69,7 @@ pub fn build(args: String) -> FnResult<String> {
6969
let stdout = dag()
7070
.pipeline("build")?
7171
.pkgx()?
72-
.with_exec(vec!["pkgx", "install", "docker", "wget"])?
72+
.with_exec(vec!["pkgm", "install", "docker", "wget"])?
7373
.with_exec(vec![&format!(
7474
r#"
7575
if [ ! -f $HOME/.docker/cli-plugins/docker-buildx ]; then
@@ -119,7 +119,7 @@ pub fn build_cloud(args: String) -> FnResult<String> {
119119
let stdout = dag()
120120
.pipeline("build")?
121121
.pkgx()?
122-
.with_exec(vec!["pkgx", "install", "docker", "wget"])?
122+
.with_exec(vec!["pkgm", "install", "docker", "wget"])?
123123
.with_exec(vec![&format!(
124124
r#"
125125
if [ ! -f $HOME/.docker/cli-plugins/docker-buildx ]; then
@@ -165,7 +165,7 @@ pub fn publish(args: String) -> FnResult<String> {
165165
let stdout = dag()
166166
.pipeline("publish")?
167167
.pkgx()?
168-
.with_exec(vec!["pkgx", "install", "docker"])?
168+
.with_exec(vec!["pkgm, "install", "docker"])?
169169
.with_exec(vec!["echo $REGISTRY_PASSWORD | docker login $REGISTRY_URL -u $REGISTRY_USER --password-stdin"])?
170170
.with_exec(vec!["docker", "push", &args])?
171171
.stdout()?;

0 commit comments

Comments
 (0)