Skip to content

Commit ddd1e45

Browse files
authored
Create docker_publish_production.yml
1 parent 95e6e1a commit ddd1e45

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: docker_publish_production
2+
3+
on:
4+
create:
5+
tags:
6+
- v*
7+
8+
jobs:
9+
build:
10+
name: Build and push production docker image
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
15+
- name: Log into Docker Hub Container Registry
16+
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
17+
18+
- name: Build image
19+
run: export VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,') && make ci-build-production

0 commit comments

Comments
 (0)