Skip to content

Commit 35a7ef4

Browse files
author
Aaron Roller
authored
Merge pull request #4 from AutoModality/BB-771
added alpine docker push test BB-771
2 parents 54a8f4f + 8f77fca commit 35a7ef4

3 files changed

Lines changed: 21 additions & 1 deletion

File tree

.github/workflows/push-docker.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Push Docker
2+
on: push
3+
jobs:
4+
push:
5+
runs-on: ubuntu-latest
6+
name: Docker Push Demo
7+
steps:
8+
- uses: actions/checkout@v1
9+
- name: Push
10+
id: push
11+
uses: AutoModality/action-cloudsmith@BB-771
12+
with:
13+
api-key: ${{ secrets.CLOUDSMITH_API_KEY }}
14+
command: 'push'
15+
format: 'docker'
16+
owner: 'automodality'
17+
repo: 'trial'
18+
republish: 'true' # needed since version is not changing
19+
file: 'test/fixture/alpine-docker-test.tar.gz' #alpine image saved to file
20+

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ fi
5353

5454

5555
case "$format" in
56-
"deb"|"raw")
56+
"deb"|"raw"|"docker")
5757

5858
if [[ -n "$distro" && "$distro" != $DEFAULT ]]; then
5959
distro_path="/$distro"
5.18 MB
Binary file not shown.

0 commit comments

Comments
 (0)