Skip to content
This repository was archived by the owner on Aug 23, 2025. It is now read-only.

Commit d87c935

Browse files
authored
Add docker hub ci action (#1061)
1 parent 23c3176 commit d87c935

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

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

0 commit comments

Comments
 (0)