File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed
Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Platformer Generated ui-stag-tag-push Build
2+ on :
3+ push :
4+ tags :
5+ - ' stag-**'
6+ jobs :
7+ build :
8+ runs-on :
9+ - ubuntu-latest
10+ env :
11+ SERVICE_NAME : ghcr.io/eclk/results-tabulation
12+ CONTAINER_REGISTRY : ghcr.io
13+ steps :
14+ - uses : actions/checkout@v2
15+ - name : Set Version
16+ id : event-version
17+ run : echo ::set-output name=SOURCE_TAG::${GITHUB_REF#refs/tags/}
18+ - name : Login to GitHub Container Registry
19+ uses : docker/login-action@v1
20+ with :
21+ registry : ${{ env.CONTAINER_REGISTRY }}
22+ username : ${{ github.actor }}
23+ password : ${{ secrets.DOCKER_PASSWORD }}
24+ - name : Build the Docker image
25+ run : docker build --tag
26+ ${SERVICE_NAME}:${{steps.event-version.outputs.SOURCE_TAG }} --file
27+ ./results-tabulation-ui/Staging.Dockerfile ./results-tabulation-ui/
28+ - name : GitHub Image Push
29+ run : docker push $SERVICE_NAME:${{steps.event-version.outputs.SOURCE_TAG }}
30+ - name : Platformer Deploy
31+ uses : platformer-com/build-deploy-action@v1
32+ with :
33+ org-id : ${{secrets.ORG_ID_FCB1AEBE_71DB_4911_9067_F5FA9BA73D4D}}
34+ project-id : ${{secrets.PROJECT_ID_FCB1AEBE_71DB_4911_9067_F5FA9BA73D4D}}
35+ token : ${{secrets.AUTOGENERATED_CICD_FCB1AEBE_71DB_4911_9067_F5FA9BA73D4D}}
36+ image-name : ${{env.SERVICE_NAME}}
37+ tag : ${{steps.event-version.outputs.SOURCE_TAG }}
38+ container-id : d5978be8-fb29-4f53-b951-acf8995587f3
You can’t perform that action at this time.
0 commit comments