Skip to content

Publish to Registry (Rolling) #69

Publish to Registry (Rolling)

Publish to Registry (Rolling) #69

name: Publish to Registry (Rolling)
on:
push:
branches:
- master
paths:
- "rolling/**"
- ".github/workflows/deploy-rolling.yml"
- ".github/actions/deploy/action.yml"
schedule:
- cron: "7 4 * * 0" # Weekly on Sundays at 13:07 (JST)
workflow_dispatch:
env:
DOCKER_USERNAME: tiryoh
DOCKER_IMAGENAME: ros2-desktop-vnc
GIT_CONFIG_USER: Tiryoh@GitHubActions
GIT_CONFIG_EMAIL: [email protected]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
timeout-minutes: 120
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
- uses: ./.github/actions/deploy
with:
ros-distro: rolling
latest: false
gha-job-name: build-and-deploy
dockerhub-token: ${{ secrets.DOCKERHUB_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}