We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 54a8f4f + 8f77fca commit 35a7ef4Copy full SHA for 35a7ef4
3 files changed
.github/workflows/push-docker.yml
@@ -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
@@ -53,7 +53,7 @@ fi
53
54
55
case "$format" in
56
- "deb"|"raw")
+ "deb"|"raw"|"docker")
57
58
if [[ -n "$distro" && "$distro" != $DEFAULT ]]; then
59
distro_path="/$distro"
test/fixture/alpine-docker-test.tar.gz
5.18 MB
0 commit comments