You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: remove deprecated repository configurations and update base… (#52)
* refactor: remove deprecated repository configurations and update base image in devcontainer
* allow push of staging
* fix: update base image in container build workflow
* fix: remove conditional check for pull request in container build workflow
* fix: update image name and tag in devcontainer CI workflow
Copy file name to clipboardExpand all lines: .github/workflows/container-build.yml
+4-35Lines changed: 4 additions & 35 deletions
Original file line number
Diff line number
Diff line change
@@ -1,31 +1,3 @@
1
-
# ## Build OpenGL-supported Docker Images
2
-
3
-
# This GitHub Actions workflow is triggered when there is a push to the `2425-devel` branch or when a tag is created. It also runs when there is a pull request to the `2425-devel` branch.
4
-
5
-
# ### Jobs
6
-
7
-
# #### build
8
-
9
-
# This job runs on the `lcas` runner and defines a matrix strategy to build Docker images for different configurations.
10
-
11
-
# ##### Matrix Configuration
12
-
13
-
# The matrix configuration includes the following variables:
14
-
15
-
# - `base_image`: The base image for the Docker image.
16
-
# - `ros_distro`: The ROS (Robot Operating System) distribution.
17
-
# - `robot_platform`: The platform for the robot.
18
-
# - `push_tag`: The tag to be used when pushing the Docker image.
19
-
20
-
# ##### Steps
21
-
22
-
# The steps in the `build` job are as follows:
23
-
24
-
# 1. Set up Node.js using the `actions/setup-node` action.
25
-
# 2. Check out the repository using the `actions/checkout` action.
26
-
# 3. Set the `BRANCH` environment variable to the branch name using a shell command.
27
-
# 4. Log in to the Docker registry (`lcas.lincoln.ac.uk`) using the `docker/login-action` action. This step is skipped for pull request events.
28
-
# 5. Build and push the Docker image using the `docker/build-push-action` action. The Dockerfile is located in the `.devcontainer/docker/ros2` directory. The image is built for the `linux/amd64` platform. The push is only performed for non-pull request events. The tags for the image are determined by the matrix configuration variables.
0 commit comments