Skip to content

Commit b92fc14

Browse files
Added docker build workflow
1 parent 552217b commit b92fc14

File tree

5 files changed

+36
-161
lines changed

5 files changed

+36
-161
lines changed

.github/workflows/calibreapp-image-actions.yml

-61
This file was deleted.

.github/workflows/codeql-analysis.yml

-70
This file was deleted.

.github/workflows/docker-publish.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Docker Image Builder
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
workflow_dispatch:
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
packages: write
13+
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
- name: Set up QEMU
18+
uses: docker/setup-qemu-action@v3
19+
- name: Set up Docker Buildx
20+
uses: docker/setup-buildx-action@v3
21+
22+
- name: Log in to GitHub Container Registry
23+
uses: docker/login-action@v3
24+
with:
25+
registry: ghcr.io
26+
username: ${{ github.actor }}
27+
password: ${{ secrets.GITHUB_TOKEN }}
28+
29+
- name: Build and push container image
30+
uses: docker/build-push-action@v5
31+
with:
32+
context: .
33+
platforms: linux/amd64,linux/arm64
34+
push: true
35+
tags: ghcr.io/${{ github.repository }}:latest,ghcr.io/${{ github.repository }}:${{ github.sha }}

.github/workflows/stale.yml

-29
This file was deleted.

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ WORKDIR $APP_PATH
77
# ---
88
FROM node:20-slim AS runner
99

10-
LABEL org.opencontainers.image.source="https://github.com/outline/outline"
10+
LABEL org.opencontainers.image.source="https://github.com/eagletrt/outline"
1111

1212
ARG APP_PATH
1313
WORKDIR $APP_PATH

0 commit comments

Comments
 (0)