We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ed9727 commit 34e140eCopy full SHA for 34e140e
1 file changed
.github/workflows/publish-container-image.yaml
@@ -0,0 +1,26 @@
1
+name: Publish container image
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
8
+jobs:
9
+ publish_to_registry:
10
+ name: Build and push image to registry
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Check out the repo
14
+ uses: actions/checkout@v2
15
16
+ - name: Log in to Docker Hub
17
+ uses: docker/login-action@v1.10.0
18
+ with:
19
+ username: ${{ secrets.DOCKERHUB_USER }}
20
+ password: ${{ secrets.DOCKERHUB_TOKEN }}
21
22
+ - name: Run script file
23
+ run: |
24
+ chmod +x ./deploy.sh
25
+ ./deploy.sh ibmcom
26
+ shell: bash
0 commit comments