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

Commit ac49b16

Browse files
committed
add build for 1.0.0
1 parent a7244fa commit ac49b16

File tree

4 files changed

+27
-6
lines changed

4 files changed

+27
-6
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,20 @@ on:
88
jobs:
99
build:
1010
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
version:
14+
- 0.29.0
15+
- 1.0.0
1116

1217
steps:
1318
- uses: actions/checkout@v1
1419

1520
- name: build
1621
run: |
1722
docker build \
18-
-t ngalayko/bazel-action:0.29.0 \
19-
--build-arg bazel_version=0.29.0 \
23+
-t ngalayko/bazel-action:${{ matrix.version }}
24+
--build-arg bazel_version=${{ matrix.version }}
2025
.
2126
2227
- name: login to registry
@@ -29,4 +34,4 @@ jobs:
2934
3035
- name: push
3136
run: |
32-
docker push ngalayko/bazel-action:0.29.0
37+
docker push ngalayko/bazel-action:${{ matrix.version }}

.github/workflows/pr.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,18 @@ on:
88
jobs:
99
build:
1010
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
version:
14+
- 0.29.0
15+
- 1.0.0
1116

1217
steps:
1318
- uses: actions/checkout@v1
1419

1520
- name: build
1621
run: |
1722
docker build \
18-
-t ngalayko/bazel-action:0.29.0 \
19-
--build-arg bazel_version=0.29.0 \
23+
-t ngalayko/bazel-action:${{ matrix.version }} \
24+
--build-arg bazel_version=${{ matrix.version }} \
2025
.

1.0.0/Dockerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FROM ngalayko/bazel-action:1.0.0
2+
3+
LABEL name="Bazel Action"
4+
LABEL maintainer="Nikita Galaiko"
5+
LABEL version="1.0.0"
6+
LABEL repository="https://github.com/ngalaiko/bazel-action"
7+
8+
LABEL com.github.actions.name="Bazel Action"
9+
LABEL com.github.actions.description="Run Bazel commands"
10+
LABEL com.github.actions.icon="box"
11+
LABEL com.github.actions.color="green"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ job:
1616
- uses: actions/checkout@master
1717

1818
- name: run
19-
uses: ngalaiko/bazel-action/0.29.0@master
19+
uses: ngalaiko/bazel-action/1.0.0@master
2020
with:
2121
args: build //...
2222
```

0 commit comments

Comments
 (0)