File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
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
+ push :
7
+ branches : [ master ]
8
+ pull_request :
9
+ branches : [ master ]
10
+
11
+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
12
+ jobs :
13
+ # This workflow contains a single job called "build"
14
+ build :
15
+ # The type of runner that the job will run on
16
+ runs-on : ubuntu-latest
17
+
18
+ # Steps represent a sequence of tasks that will be executed as part of the job
19
+ steps :
20
+ - uses : actions/checkout@v2
21
+ # TODO v2 is almost out with new syntax
22
+ - name : Build-Push-DockerHub
23
+ uses : docker/build-push-action@v1
24
+ with :
25
+ username : ${{ secrets.DOCKER_USERNAME }}
26
+ password : ${{ secrets.DOCKER_PASSWORD }}
27
+ repository : justb4/awstats
28
+ tags : latest,7.6-1
29
+ tag_with_ref : false
30
+ tag_with_sha : true
You can’t perform that action at this time.
0 commit comments