Skip to content

Commit

Permalink
Update docker-image-perception-master.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
LogSonia authored Mar 28, 2024
1 parent fab0ccc commit f2ec826
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/docker-image-perception-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
name: "Build ROS perception X86/64"
runs-on: ubuntu-latest
env:
BASE_IMAGE: "docker.pkg.github.com/sonia-auv/sonia_common/sonia_common:x86-perception-latest"
BASE_IMAGE: "ghcr.io/sonia-auv/sonia_common/sonia_common:x86-perception-latest"
ARCH: x86
TARGET_TYPE: perception
IMAGE_NAME: interface_rs485
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
name: "Build ROS perception ARM64"
runs-on: ubuntu-latest
env:
BASE_IMAGE: "docker.pkg.github.com/sonia-auv/sonia_common/sonia_common:arm64-perception-latest"
BASE_IMAGE: "ghcr.io/sonia-auv/sonia_common/sonia_common:arm64-perception-latest"
ARCH: arm64
TARGET_TYPE: perception
IMAGE_NAME: interface_rs485
Expand All @@ -57,14 +57,7 @@ jobs:
echo "${{ secrets.GITHUB_TOKEN }}" | docker login docker.pkg.github.com -u ${{ github.actor }} --password-stdin
- name: Set Target version
run: echo "TARGET_VERSION=release-$(sed -n -e 's/.*<version>\(.*\)<\/version>.*/\1/p' package.xml)" >> $GITHUB_ENV

- name: Enable Docker Daemon Experimental Features
run: |
sudo rm /etc/docker/daemon.json
echo '{"experimental": true , "cgroup-parent": "/actions_job" }' | sudo tee -a /etc/docker/daemon.json
sudo service docker restart
docker version

- name: Install QEMU to be able to compile on X86 into ARM64
run: |
sudo apt-get update
Expand Down Expand Up @@ -113,4 +106,4 @@ jobs:
body: |
A new release for this package has been created
draft: false
prerelease: false
prerelease: false

0 comments on commit f2ec826

Please sign in to comment.