Skip to content

Commit 0d14831

Browse files
Update docker-cd.yml
1 parent 6d00ccc commit 0d14831

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/docker-cd.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,23 @@ name: Docker CD
77

88
on:
99
push:
10-
branches: [ "main" ]
10+
branches:
11+
- "main"
1112
# Publish semver tags as releases.
12-
tags: [ 'v*.*.*' ]
13+
tags:
14+
- 'v[0-9]+.[0-9]+.[0-9]+*'
1315
pull_request:
14-
branches: [ "main" ]
16+
branches:
17+
- "main"
1518

1619
env:
1720
# Use docker.io for Docker Hub if empty
1821
REGISTRY: docker.io
1922
# github.repository as <account>/<repo>
2023
IMAGE_NAME: pythongermany/webserv
2124

22-
2325
jobs:
24-
docker-ci:
25-
26+
docker-cd:
2627
runs-on: ubuntu-latest
2728
permissions:
2829
contents: read

0 commit comments

Comments
 (0)