File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 1
- name : docker-build-push
1
+ name : Docker
2
2
3
3
on :
4
4
push :
5
5
branches : [ master, release/* ]
6
+ tags : [ '**' ]
6
7
7
8
env :
8
9
SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL }}
9
10
10
11
jobs :
11
12
build :
13
+ name : Build & Push
12
14
runs-on : ubuntu-latest
13
15
env :
14
- REPOSITORY_URL : docker.pkg.github.com
15
- IMAGE_NAME : ${{ github.repository }}/alerta-webui
16
+ REPOSITORY_URL : ghcr.io
17
+ IMAGE_NAME : ${{ github.repository_owner }}/alerta-webui
16
18
steps :
17
19
- name : Checkout
18
20
uses : actions/checkout@v2
31
33
-t $REPOSITORY_URL/$IMAGE_NAME:$(cat VERSION)
32
34
-t $REPOSITORY_URL/$IMAGE_NAME:${{ steps.vars.outputs.SHORT_COMMIT_ID }}
33
35
-t $REPOSITORY_URL/$IMAGE_NAME:latest .
34
- - uses : docker/login-action@v1
36
+ - name : Docker Login
37
+ uses : docker/login-action@v1
35
38
with :
36
39
registry : ${{ env.REPOSITORY_URL }}
37
40
username : ${{ github.actor }}
You can’t perform that action at this time.
0 commit comments