File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ # This is a basic workflow to help you get started with Actions
2+ name : CI
3+ # Controls when the action will run. Triggers the workflow on push or pull request
4+ # events but only for the master branch
5+ on :
6+ release :
7+ types : published
8+
9+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
10+ jobs :
11+ # This workflow contains a single job called "build"
12+ build :
13+ # The type of runner that the job will run on
14+ runs-on : ubuntu-latest
15+ # Steps represent a sequence of tasks that will be executed as part of the job
16+ steps :
17+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
18+ - uses : actions/checkout@v2
19+ - name : Build and push Docker images
20+ 21+ with :
22+ username : ${{ secrets.DOCKER_USERNAME }}
23+ password : ${{ secrets.DOCKER_PASSWORD }}
24+ repository : dustinupdyke/ghosts
25+ tag_with_ref : true
26+ push : ${{ startsWith(github.ref, 'refs/tags/') }}
27+ build_args : " commit=${{ github.sha }}"
28+ dockerfile : Ghosts.Api/Dockerfile
You can’t perform that action at this time.
0 commit comments