Skip to content

fix(accounts): update OpenCode export dialog test for new schema #6

fix(accounts): update OpenCode export dialog test for new schema

fix(accounts): update OpenCode export dialog test for new schema #6

Workflow file for this run

name: Build and publish Docker image
on:
workflow_dispatch:
push:
branches:
- main
- feat/opencode-auth-export
- Own
tags:
- "v*"
permissions:
contents: read
packages: write
env:
IMAGE_NAME: ghcr.io/lnimien/codex-lb
jobs:
docker:
name: Docker image
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.IMAGE_NAME }}
tags: |
type=raw,value=opencode-auth-export,enable=${{ github.ref == 'refs/heads/feat/opencode-auth-export' }}
type=raw,value=own,enable=${{ github.ref == 'refs/heads/Own' }}
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }}
type=ref,event=tag
type=sha,prefix=sha-
- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile
push: true
platforms: linux/amd64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max