This repository was archived by the owner on Mar 10, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +27
-6
lines changed
Expand file tree Collapse file tree 4 files changed +27
-6
lines changed Original file line number Diff line number Diff line change 88jobs :
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
2934
3035 - name : push
3136 run : |
32- docker push ngalayko/bazel-action:0.29.0
37+ docker push ngalayko/bazel-action:${{ matrix.version }}
Original file line number Diff line number Diff line change 88jobs :
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 .
Original file line number Diff line number Diff line change 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"
Original file line number Diff line number Diff line change 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` ` `
You can’t perform that action at this time.
0 commit comments