mirror of https://github.com/resf/distro-tools.git
26 lines
512 B
YAML
26 lines
512 B
YAML
name: Push containers
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main" ]
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: bazelbuild/setup-bazelisk@v2
|
|
- name: Mount bazel cache # Optional
|
|
uses: actions/cache@v3
|
|
with:
|
|
path: "~/.cache/bazel"
|
|
key: bazel
|
|
- name: Push containers
|
|
run: |
|
|
bazel run //apollo/server:server.push
|
|
bazel run //apollo/rpmworker:rpmworker.push
|
|
bazel run //apollo/rhworker:rhworker.push
|