Skip to content

Commit

Permalink
Merge pull request #3 from nlnwa/update
Browse files Browse the repository at this point in the history
feat: build container for pywb 2.8.3
  • Loading branch information
maeb authored May 2, 2024
2 parents 1c1177a + 1ef0d95 commit 561e3b3
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 10 deletions.
21 changes: 21 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
version: 2
updates:
- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "weekly"
labels:
- "dependencies"
commit-message:
prefix: "build"
include: "scope"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
labels:
- "dependencies"
commit-message:
prefix: "build"
include: "scope"
7 changes: 1 addition & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release
on:
push:
tags:
- v*
- "v[0-9]+.[0-9]+.[0-9]+.*"

env:
REGISTRY: ghcr.io
Expand All @@ -12,9 +12,6 @@ env:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
version: [2.6.7, 2.6.8, 2.6.9, 2.7.2, 2.7.3]
steps:
- name: Extract metadata (tags, labels) for Docker
id: meta
Expand Down Expand Up @@ -42,5 +39,3 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
PYWB_VERSION=${{ matrix.version }}
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
ARG PYWB_VERSION=2.7.3
FROM docker.io/webrecorder/pywb:2.8.3 as pywb

FROM docker.io/webrecorder/pywb:$PYWB_VERSION as pywb

FROM docker.io/nginx:1.23-alpine
FROM docker.io/nginx:1.25-alpine

COPY --from=pywb /pywb/pywb/static /usr/share/nginx/html/static

0 comments on commit 561e3b3

Please sign in to comment.