Skip to content
This repository was archived by the owner on Mar 10, 2023. It is now read-only.

Commit a7244fa

Browse files
committed
push only master branch
1 parent 1562f95 commit a7244fa

File tree

2 files changed

+31
-8
lines changed

2 files changed

+31
-8
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
name: CI
1+
name: ci
22

3-
on: [push]
3+
on:
4+
push:
5+
branches:
6+
- master
47

58
jobs:
69
build:
@@ -9,21 +12,21 @@ jobs:
912
steps:
1013
- uses: actions/checkout@v1
1114

12-
- name: Build
15+
- name: build
1316
run: |
1417
docker build \
1518
-t ngalayko/bazel-action:0.29.0 \
16-
--build-arg BAZEL_VERSION=0.29.0 \
19+
--build-arg bazel_version=0.29.0 \
1720
.
1821
19-
- name: Login to registry
22+
- name: login to registry
2023
env:
21-
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
24+
docker_password: ${{ secrets.docker_password }}
2225
run: |
2326
docker login \
2427
-u ngalayko \
25-
-p ${DOCKER_PASSWORD}
28+
-p ${docker_password}
2629
27-
- name: Push
30+
- name: push
2831
run: |
2932
docker push ngalayko/bazel-action:0.29.0

.github/workflows/pr.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: ci
2+
3+
on:
4+
push:
5+
branches-ignore:
6+
- master
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v1
14+
15+
- name: build
16+
run: |
17+
docker build \
18+
-t ngalayko/bazel-action:0.29.0 \
19+
--build-arg bazel_version=0.29.0 \
20+
.

0 commit comments

Comments
 (0)