Skip to content

Commit

Permalink
booking: adding booking-rbe-worker image
Browse files Browse the repository at this point in the history
Extending the gcr.io/bazel-public/ubuntu2204-java17 with some extra
tooling we need to build in our RBE cluster
  • Loading branch information
manuelnaranjo committed Mar 14, 2024
1 parent 3775ef2 commit 8f4d841
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,16 @@ jobs:
contents: read
packages: write
#
strategy:
fail-fast: false
matrix:
include:
- dockerfile: ./sysbox/Dockerfile
context: sysbox
image: engflow-sysbox
- dockerfile: ./booking-rbe-worker/Dockerfile
context: booking-rbe-worker
image: ubuntu-rbe-worker
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -35,14 +45,15 @@ jobs:
id: meta
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
images: ${{ env.REGISTRY }}/${{ github.repository_owner}}/${{ matrix.image }}
# This step uses the `docker/build-push-action` action to build the image, based on your repository's `Dockerfile`. If the build succeeds, it pushes the image to GitHub Packages.
# It uses the `context` parameter to define the build's context as the set of files located in the specified path. For more information, see "[Usage](https://github.com/docker/build-push-action#usage)" in the README of the `docker/build-push-action` repository.
# It uses the `tags` and `labels` parameters to tag and label the image with the output from the "meta" step.
- name: Build and push Docker image
- name: Build and push sysbox Docker image
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
with:
context: .
context: ${{ matrix.context }}
file: ${{ matrix.dockerfile }}
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
4 changes: 4 additions & 0 deletions booking-rbe-worker/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM gcr.io/bazel-public/ubuntu2204-java17

RUN apt-get update -yq
RUN apt-get install -yq ca-certificates curl gnupg rsync
File renamed without changes.
File renamed without changes.

0 comments on commit 8f4d841

Please sign in to comment.