Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add docker ecr login plugin as tools #792

Merged
merged 3 commits into from
May 28, 2024
Merged
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { makeToolTestConfig, toolTest } from "tests";

toolTest({
toolName: "docker-credential-ecr-login",
toolVersion: "0.8.0",
testConfigs: [
makeToolTestConfig({
command: ["docker-credential-ecr-login", "-v"],
expectedOut: "Version: 0.8.0",
}),
],
});
24 changes: 24 additions & 0 deletions tools/docker-credential-ecr-login/plugin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
version: 0.1
downloads:
- name: docker-credential-ecr-login
executable: true
downloads:
- os:
linux: linux
macos: darwin
cpu:
x86_64: amd64
arm_64: arm64
url: https://amazon-ecr-credential-helper-releases.s3.us-east-2.amazonaws.com/${version}/${os}-${cpu}/docker-credential-ecr-login
- os:
windows: windows
cpu:
x86_64: amd64
arm_64: arm64
url: https://amazon-ecr-credential-helper-releases.s3.us-east-2.amazonaws.com/${version}/windows-${cpu}/docker-credential-ecr-login.exe
tools:
definitions:
- name: docker-credential-ecr-login
download: docker-credential-ecr-login
known_good_version: 0.8.0
shims: [docker-credential-ecr-login]
Loading