File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ on :
2+ push :
3+ branches : [ results-2020 ]
4+ pull_request :
5+ branches : [ results-2020 ]
6+
7+ jobs :
8+ build :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v2
12+ - name : docker login
13+ env :
14+ DOCKER_USER : ${{secrets.DOCKER_USER}}
15+ DOCKER_PASSWORD : ${{secrets.DOCKER_PASSWORD}}
16+ run : |
17+ docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
18+ - name : Build the Docker image
19+ env :
20+ DOCKER_USER : ${{secrets.DOCKER_USER}}
21+ REPO_NAME : ${{ github.event.repository.name }}
22+ TAG : ${{github.sha}}
23+ run : docker build . --file Dockerfile --tag ${DOCKER_USER}/${REPO_NAME}:${TAG}
24+ - name : Docker Push
25+ run : docker push ${DOCKER_USER}/${REPO_NAME}:${TAG}
26+ env :
27+ DOCKER_USER : ${{secrets.DOCKER_USER}}
28+ REPO_NAME : ${{ github.event.repository.name }}
29+ TAG : ${{github.sha}}
30+ - name : Platformer Deploy
31+ uses : platformer-com/build-deploy-action@v1
32+ with :
33+ domain : https://beta.api.platformer.com/rudder
34+ org-id : ${{secrets.ORG_ID}}
35+ project-id : ${{secrets.PROJECT_ID}}
36+ token : ${{secrets.TOKEN}}
37+ image-name : ${{secrets.DOCKER_USER}}/${{ github.event.repository.name }}
38+ tag : ${{github.sha}}
39+ container-id : a5d76fc2-7078-43a1-9a30-84d1c1bd83e8
You can’t perform that action at this time.
0 commit comments