Skip to content

Commit 0f813b3

Browse files
authored
Update docker-image.yml
1 parent 38b3582 commit 0f813b3

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/docker-image.yml

+31
Original file line numberDiff line numberDiff line change
@@ -99,3 +99,34 @@ jobs:
9999
push: true
100100
file: ./Dockerfile-frontend
101101
tags: countly/frontend:latest,countly/frontend:${{ steps.vars.outputs.tag }}
102+
103+
push_all:
104+
name: Push Countly Single-All Image
105+
runs-on: ubuntu-latest
106+
steps:
107+
- name: Check out the repo
108+
uses: actions/checkout@v2
109+
110+
- name: Set output
111+
id: vars
112+
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
113+
114+
- name: Check output
115+
env:
116+
RELEASE_VERSION: ${{ steps.vars.outputs.tag }}
117+
run: |
118+
echo $RELEASE_VERSION
119+
echo ${{ steps.vars.outputs.tag }}
120+
121+
- name: Log in to Docker Hub
122+
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
123+
with:
124+
username: ${{ secrets.DOCKERHUB_USERNAME }}
125+
password: ${{ secrets.DOCKERHUB_TOKEN }}
126+
127+
- name: Build and push Docker image
128+
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
129+
with:
130+
push: true
131+
file: ./Dockerfile-core
132+
tags: countly/countly-core:latest,countly/countly-core:${{ steps.vars.outputs.tag }}

0 commit comments

Comments
 (0)