Skip to content

Commit

Permalink
CI : Fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rcywongaa committed Feb 3, 2025
1 parent 48c859a commit 487adfb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,14 @@ on: [push, pull_request]

name: Build

env:
REGISTRY: ghcr.io
IMAGE_NAME: spaceros2_rust_dev

jobs:
build-job:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./workspace
container:
image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
image: ghcr.io/${{ github.actor }}/spaceros2_rust_dev:latest
steps:
- uses: actions/checkout@v2

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/dev_image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,5 @@ jobs:
context: ros2_ws
file: ros2_ws/space.dockerfile
build-args: ROS_DISTRO=jazzy
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
push: true
tags: ${{ env.REGISTRY }}/${{ github.actor }}/${{ env.IMAGE_NAME }}:latest

0 comments on commit 487adfb

Please sign in to comment.