Skip to content

Messing with UDP. Compressing data sent to board. #24

Messing with UDP. Compressing data sent to board.

Messing with UDP. Compressing data sent to board. #24

name: Build and Push Docker Image
on:
push:
branches: [main]
env:
TAG: latest
jobs:
build-and-push:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
push: true
tags: ghcr.io/${{ github.repository }}:${{ env.TAG }}
- name: deploy-dev
uses: th0th/[email protected]
env:
RANCHER_BEARER_TOKEN: ${{ secrets.RANCHER_BEARER_TOKEN }}
RANCHER_URL: 'https://rancher.mun.sh'
RANCHER_CLUSTER_ID: 'local'
RANCHER_PROJECT_ID: 'p-vdwsg'
RANCHER_NAMESPACE: 'default'
RANCHER_WORKLOADS: 'rgb'
- name: deploy-dev
uses: th0th/[email protected]
env:
RANCHER_BEARER_TOKEN: ${{ secrets.RANCHER_BEARER_TOKEN }}
RANCHER_URL: 'https://rancher.mun.sh'
RANCHER_CLUSTER_ID: 'local'
RANCHER_PROJECT_ID: 'p-vdwsg'
RANCHER_NAMESPACE: 'default'
RANCHER_WORKLOADS: 'rgb-browser'