Skip to content

Symlink claude/opencode to /usr/local/bin instead of copying #27

Symlink claude/opencode to /usr/local/bin instead of copying

Symlink claude/opencode to /usr/local/bin instead of copying #27

Workflow file for this run

name: "Docker"
on:
workflow_dispatch:
push:
schedule:
- cron: "0 8 * * 1"
permissions:
contents: read
jobs:
test:
name: "Test"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v4
- name: Build image for testing
uses: docker/build-push-action@v7
with:
context: ./fx
file: ./fx/Dockerfile
push: false
tags: dockette/coder:fx-test
platforms: linux/amd64
load: true
- name: Smoke test image
run: make test DOCKER_TAG=fx-test
build:
name: "Build"
needs: test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Login to DockerHub
uses: docker/login-action@v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v4
- name: Build and push
uses: docker/build-push-action@v7
with:
context: ./fx
file: ./fx/Dockerfile
push: ${{ github.ref == 'refs/heads/master' }}
tags: dockette/coder:fx
platforms: linux/amd64
cache-from: type=gha
cache-to: type=gha