Skip to content

Commit

Permalink
try with dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
abe-winter committed Aug 8, 2023
1 parent 26d84ae commit 0fc0313
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM busybox:1.36.1

ARG VIAM_CLI viam-latest-linux-amd64

RUN wget https://storage.googleapis.com/packages.viam.com/apps/viam-cli/$VIAM_CLI
COPY upload.sh
RUN upload.sh
6 changes: 2 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,8 @@ inputs:
default: true

runs:
using: composite
steps:
- uses: actions/checkout@v3
- uses: ./upload.yml
using: docker
image: Dockerfile

branding:
icon: upload-cloud
3 changes: 3 additions & 0 deletions upload.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash
echo entrypoint running
env

0 comments on commit 0fc0313

Please sign in to comment.