diff --git a/.gitea/workflows/Build.yaml b/.gitea/workflows/Build.yaml deleted file mode 100644 index d277138..0000000 --- a/.gitea/workflows/Build.yaml +++ /dev/null @@ -1,37 +0,0 @@ -name: build only rgb-board -run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 -on: - push: - branches: - - "animate-separate" - paths-ignore: - - ".gitea/workflows/**" - -jobs: - build: - runs-on: ubuntu-latest - container: - image: registry.local/catthehacker-home:act-latest - volumes: - - /var/run/user/1000/docker.sock:/var/run/docker.sock - steps: - - uses: actions/checkout@v3 - - name: short-sha - id: short-sha - run: echo "short-sha=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 - with: - driver-opts: | - image=registry.local/buildkit-wagnerca:stable-3-rootless - seccomp=unconfined - apparmor=unconfined - systempaths=unconfined - privileged=false - - run: docker buildx ls - - name: push rgbboard - uses: docker/build-push-action@master - with: - push: false - tags: registry.local/rgbboard:${{ steps.short-sha.outputs.short-sha }} - platforms: linux/arm64,linux/amd64 \ No newline at end of file diff --git a/.gitea/workflows/build-push.yaml b/.gitea/workflows/build-push.yaml index 7a6d643..e6cf6d0 100644 --- a/.gitea/workflows/build-push.yaml +++ b/.gitea/workflows/build-push.yaml @@ -29,9 +29,12 @@ jobs: systempaths=unconfined privileged=false - run: docker buildx ls - - name: push rgbboard + - name: build push rgbboard uses: docker/build-push-action@master + id: build_push_rgbboard with: push: true tags: registry.local/rgbboard:${{ steps.short-sha.outputs.short-sha }} - platforms: linux/arm64 \ No newline at end of file + platforms: linux/arm64 + - name: Print Image ID + run: echo "The image ID is: ${{ steps.build_push_rgbboard.outputs.imageid }}" \ No newline at end of file diff --git a/board.go b/board.go index 19bfe78..0de2c94 100644 --- a/board.go +++ b/board.go @@ -40,7 +40,7 @@ func animate(sz image.Point, mqMessages chan mqtt.Message) *Animation { images: initialMap(), updown: "marioUp", dir: image.Point{1, 1}, - a: 64, + a: 62, b: 30, }, }