Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .woodpecker/feature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ steps:
build-and-push:
image: woodpeckerci/plugin-docker-buildx
settings:
platforms: linux/amd64,linux/arm64
repo: "${CI_REPO_OWNER##mu-}/${CI_REPO_NAME%%-service}"
tags: "feature-${CI_COMMIT_BRANCH##feature/}"
username:
Expand Down
1 change: 1 addition & 0 deletions .woodpecker/latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ steps:
build-and-push:
image: woodpeckerci/plugin-docker-buildx
settings:
platforms: linux/amd64,linux/arm64
repo: "${CI_REPO_OWNER##mu-}/${CI_REPO_NAME%%-service}"
tags: latest
username:
Expand Down
1 change: 1 addition & 0 deletions .woodpecker/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ steps:
release:
image: woodpeckerci/plugin-docker-buildx
settings:
platforms: linux/amd64,linux/arm64
repo: "${CI_REPO_OWNER##mu-}/${CI_REPO_NAME%%-service}"
tags: "${CI_COMMIT_TAG##v}"
username:
Expand Down
2 changes: 1 addition & 1 deletion completions
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Useful info found at http://www.linuxjournal.com/content/more-using-bash-complete-command

MU_CLI_VERSION="1.0.3"
sh -c "docker run --rm --volume /tmp:/tmp semtech/mu-cli:${MU_CLI_VERSION} bash ensure-files.sh &"
sh -c "docker run --platform linux/amd64 --rm --volume /tmp:/tmp semtech/mu-cli:${MU_CLI_VERSION} bash ensure-files.sh &"

# I use variables that start with retval to indicate that they are only used to
# populate the return value for the function whose name is the second part of the
Expand Down
2 changes: 1 addition & 1 deletion mu
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function ensure_mu_cli_docker() {

if [[ -z $container_hash ]] ;
then
docker run --volume /tmp:/tmp -i --name mucli --rm --entrypoint "tail" -d semtech/mu-cli:$MU_CLI_VERSION -f /dev/null
docker run --platform linux/amd64 --volume /tmp:/tmp -i --name mucli --rm --entrypoint "tail" -d semtech/mu-cli:$MU_CLI_VERSION -f /dev/null
if [[ "$?" -ne "0" ]]
then
echo "I could not start the mu-cli container. Aborting operation." >> /dev/stderr
Expand Down