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

Commit 6596333

Browse files
authored
Create docker image action
1 parent 33ae71d commit 6596333

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

.github/workflows/docker-image.yml

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

0 commit comments

Comments
 (0)