Skip to content

Commit 15aaf79

Browse files
committed
add test workflow for docker
1 parent d15df80 commit 15aaf79

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/docker-test.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
2+
3+
name: Upload to S3
4+
5+
on:
6+
push:
7+
tags: testing-[1-9]+.[0-9]+.[0-9]+
8+
9+
jobs:
10+
jobs:
11+
docker:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Set up QEMU
15+
uses: docker/setup-qemu-action@v1
16+
17+
- name: Set up Docker Buildx
18+
uses: docker/setup-buildx-action@v1
19+
20+
- name: Login to DockerHub
21+
uses: docker/login-action@v1
22+
with:
23+
username: ${{ secrets.DOCKERHUB_USERNAME }}
24+
password: ${{ secrets.DOCKERHUB_TOKEN }}
25+
26+
- name: Build and push
27+
id: docker_build
28+
uses: docker/build-push-action@v2
29+
with:
30+
push: true
31+
tags: ${{ secrets.DOCKERHUB_USERNAME }}/phplist-dev:latest

0 commit comments

Comments
 (0)