aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/cd-version.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/cd-version.yaml')
-rw-r--r--.github/workflows/cd-version.yaml50
1 files changed, 26 insertions, 24 deletions
diff --git a/.github/workflows/cd-version.yaml b/.github/workflows/cd-version.yaml
index 963649ca..6d19cca5 100644
--- a/.github/workflows/cd-version.yaml
+++ b/.github/workflows/cd-version.yaml
@@ -1,24 +1,26 @@
-name: Build And Upload Versioned Docker Image
-
-on:
- push:
- tags:
- - "v[0-9]+.[0-9]+.[0-9]+*"
- paths-ignore:
- - "**/README.md"
-
-jobs:
- deploy:
- name: Build And Push Docker
- runs-on: ubuntu-latest
-
- steps:
- - uses: actions/checkout@v2
-
- - name: Build And Push to Docker Hub
- uses: docker/build-push-action@v1
- with:
- username: ${{ secrets.DOCKER_HUB_USERNAME }}
- password: ${{ secrets.DOCKER_HUB_PASSWORD }}
- repository: crupest/timeline
- tag_with_ref: true
+name: Build And Upload Versioned Docker Image
+
+on:
+ push:
+ tags:
+ - "v[0-9]+.[0-9]+.[0-9]+*"
+ paths-ignore:
+ - "**/README.md"
+
+jobs:
+ deploy:
+ name: Build And Push Docker
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v2
+ with:
+ submodules: true
+
+ - name: Build And Push to Docker Hub
+ uses: docker/build-push-action@v1
+ with:
+ username: ${{ secrets.DOCKER_HUB_USERNAME }}
+ password: ${{ secrets.DOCKER_HUB_PASSWORD }}
+ repository: crupest/timeline
+ tag_with_ref: true