Skip to content

Commit f94900a

Browse files
authored
Merge pull request #499 from liangliangyy/dev
update github workflow
2 parents d460248 + 5cc510c commit f94900a

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

.github/workflows/django.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,3 +115,20 @@ jobs:
115115
116116
- name: Upload coverage to Codecov
117117
uses: codecov/codecov-action@v1
118+
119+
docker:
120+
runs-on: ubuntu-latest
121+
steps:
122+
- name: Checkout
123+
uses: actions/checkout@v2
124+
- name: Set up QEMU
125+
uses: docker/setup-qemu-action@v1
126+
- name: Set up Docker Buildx
127+
uses: docker/setup-buildx-action@v1
128+
129+
- name: Build and push
130+
uses: docker/build-push-action@v2
131+
with:
132+
context: .
133+
push: false
134+
tags: ${{ secrets.DOCKERHUB_USERNAME }}/djangoblog:dev

.github/workflows/publish-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ jobs:
3636
linux/arm/v7
3737
linux/arm/v6
3838
linux/386
39-
tags: liangliangyy/djangoblog:${{ github.event.release.tag_name }}
39+
tags: ${{ secrets.DOCKERHUB_USERNAME }}/djangoblog:${{ github.event.release.tag_name }}

0 commit comments

Comments
 (0)