v1 of FixBluesky #1

Merged
rose merged 32 commits from devel into main 2024-10-16 16:48:34 +00:00
Showing only changes of commit 59350d61f3 - Show all commits

View 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 }}