-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (32 loc) · 754 Bytes
/
Copy pathmain.yml
File metadata and controls
38 lines (32 loc) · 754 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Set up Docker Buildx with insecure registry
uses: docker/setup-buildx-action@v1
with:
driver-opts: |
network=host
config-inline: |
[registry."219.135.230.196:5000"]
http = true
insecure = true
- name: Login to private registry
uses: docker/login-action@v1
with:
registry: 219.135.230.196:5000
username: test
password: test111