There was an error while loading. Please reload this page.
1 parent 80f98fc commit 4b8cc30Copy full SHA for 4b8cc30
.github/workflows/docker-image.yml
@@ -0,0 +1,31 @@
1
+name: Docker Image for Gitlab Bot CI
2
+
3
+on:
4
+ push:
5
+ branches: [ "master" ]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
12
+ runs-on: ubuntu-latest
13
14
+ steps:
15
+ - uses: actions/checkout@v3
16
17
+ - name: Buildx
18
+ uses: docker/setup-buildx-action@v1
19
20
+ - name: Login
21
+ uses: docker/login-action@v1
22
+ with:
23
+ username: ${{ secrets.DOCKER_USERNAME }}
24
+ password: ${{ secrets.DOCKER_TOKEN }}
25
26
+ - name: Build and push
27
+ uses: docker/build-push-action@v2
28
29
+ context: .
30
+ push: true
31
+ tags: goodideal/gitlab-bot:latest
0 commit comments