✨ v1 of FixBluesky #1
1 changed files with 48 additions and 0 deletions
48
.forgejo/workflows/devel.yml
Normal file
48
.forgejo/workflows/devel.yml
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
name: Build Docker Image
|
||||
on:
|
||||
push:
|
||||
branches: [devel]
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: node:21-alpine
|
||||
steps:
|
||||
- name: Setup Node
|
||||
run: |
|
||||
apk add --no-cache libc6-compat
|
||||
apk update
|
||||
yarn set version canary
|
||||
yarn config set nodeLinker node-modules
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Run Node CI Stuff
|
||||
run: |
|
||||
yarn install --immutable
|
||||
yarn lint
|
||||
- name: Docker Metadata
|
||||
id: metadata
|
||||
uses: docker/metadata-action@v5
|
||||
with:
|
||||
images: git.thornbush.dev/rose/fixbluesky
|
||||
tags: |
|
||||
type=ref,event=branch
|
||||
type=sha,prefix=
|
||||
type=edge,branch=devel
|
||||
- name: Docker Buildx
|
||||
uses: https://code.forgejo.org/docker/setup-buildx-action@v3
|
||||
- name: Login to Docker Registry
|
||||
if: github.event_name != 'pull_request'
|
||||
uses: https://code.forgejo.org/docker/login-action@v3
|
||||
with:
|
||||
registry: git.thornbush.dev
|
||||
username: ${{github.actor}}
|
||||
password: ${{secrets.OAUTH_TOKEN}}
|
||||
- name: Build Image
|
||||
uses: https://code.forgejo.org/docker/build-push-action@v6
|
||||
with:
|
||||
context: .
|
||||
file: ./Dockerfile
|
||||
push: ${{ github.event_name != 'pull_request' }}
|
||||
tags: ${{ steps.metadata.outputs.tags }}
|
||||
labels: ${{ steps.metadata.outputs.labels }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue