Skip to content

Commit e03b7cc

Browse files
committed
Correct binary name in docker image
1 parent 33a4c76 commit e03b7cc

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ FROM debian:buster-slim
99

1010
WORKDIR /app
1111

12-
COPY --from=builder /app/target/release/my-action /usr/local/bin/my-action
12+
COPY --from=builder /app/target/release/sops-gitops-github-action /usr/local/bin/sops-gitops-github-action
1313

1414
COPY scripts/entrypoint.sh /usr/local/bin/entrypoint.sh
1515
RUN chmod +x /usr/local/bin/entrypoint.sh

action.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
name: "My Rust Action"
2-
description: "A GitHub Action implemented in Rust"
3-
author: "Your Name"
1+
name: "Sops GitOps Github Action"
2+
description: "A Github action to manage and maintain SOPS secrets for your repository"
3+
author: "Weaveworks Community"
4+
maintainer:
5+
- "Charles Sibbald"
46
runs:
57
using: "docker"
6-
image: "docker://ghcr.io/your-username/your-action:latest"
8+
image: "docker://ghcr.io/weaveworks/sops-gitops-github-action:latest"
79
args:
810
- "${{ inputs.input1 }}"
911
- "${{ inputs.input2 }}"

scripts/entrypoint.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
set -euo pipefail
44

5-
exec /usr/local/bin/my-action "$@"
5+
exec /usr/local/bin/sops-gitops-github-action "$@"

0 commit comments

Comments
 (0)