Compare commits
16
Commits
v28.0.2
...
v2025.02.23-3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d828bbfb3a | ||
|
|
3b36a50552 | ||
|
|
508feb750e | ||
|
|
c2f9a09874 | ||
|
|
71412a4905 | ||
|
|
5ea818a8c3 | ||
|
|
7e1fd025d2 | ||
|
|
16f06cf915 | ||
|
|
f454a9da05 | ||
|
|
e97cd64760 | ||
|
|
9b2521a984 | ||
|
|
6b8111c739 | ||
|
|
67f7dccda7 | ||
|
|
fca5925658 | ||
|
|
279407d44c | ||
|
|
8d3ab94408 |
No files matched your search
@@ -10,7 +10,7 @@ on:
|
||||
push:
|
||||
branches: ["main"]
|
||||
# Publish semver tags as releases.
|
||||
tags: ["v*.*.*"]
|
||||
tags: ["v*"]
|
||||
|
||||
env:
|
||||
REGISTRY: ghcr.io/asosnovsky
|
||||
@@ -18,7 +18,9 @@ jobs:
|
||||
build:
|
||||
strategy:
|
||||
matrix:
|
||||
project: ["nextcloud"]
|
||||
project:
|
||||
- "nextcloud"
|
||||
- "dnsmasq"
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
@@ -30,27 +32,28 @@ jobs:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
- name: Install cosign
|
||||
uses: sigstore/cosign-installer@e1523de7571e31dbe865fd2e80c5c7c23ae71eb4 # v3.4.0
|
||||
uses: sigstore/cosign-installer@59acb6260d9c0ba8f4a2f9d9b48431a222b68e20 # v3.5.0
|
||||
with:
|
||||
cosign-release: "v1.13.1"
|
||||
- name: Setup Docker buildx
|
||||
uses: docker/setup-buildx-action@0d103c3126aa41d772a8362f6aa67afac040f80c
|
||||
uses: docker/setup-buildx-action@5138f76647652447004da686b2411557eaf65f33
|
||||
- name: Log into registry ${{ env.REGISTRY }}
|
||||
uses: docker/login-action@5139682d94efc37792e6b54386b5b470a68a4737
|
||||
uses: docker/login-action@70fccc794acd729b2b22dd6a326895f286447728
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Extract Docker metadata
|
||||
id: meta
|
||||
uses: docker/metadata-action@3f6690a76cbcbe44da6bac853d66df365ab3af27
|
||||
uses: docker/metadata-action@f7b4ed12385588c3f9bc252f0a2b520d83b52d48
|
||||
with:
|
||||
images: ${{ env.REGISTRY }}/${{ matrix.project }}
|
||||
- name: Build and push Docker image
|
||||
id: build-and-push
|
||||
uses: docker/build-push-action@ac9327eae2b366085ac7f6a2d02df8aa8ead720a
|
||||
uses: docker/build-push-action@2a53c6ccda456d31fb62eedc658aae06e238b7bd
|
||||
with:
|
||||
context: ${{ matrix.project }}
|
||||
dockerfile: Containerfile
|
||||
push: ${{ github.event_name != 'pull_request' }}
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
FROM alpine:edge
|
||||
LABEL maintainer="ariel@sosnovsky.ca"
|
||||
|
||||
# webproc release settings
|
||||
ENV WEBPROC_VERSION 0.4.0
|
||||
ENV WEBPROC_URL https://github.com/jpillora/webproc/releases/download/$WEBPROC_VERSION/webproc_linux_amd64.gz
|
||||
# fetch dnsmasq and webproc binary
|
||||
RUN apk update \
|
||||
&& apk --no-cache add dnsmasq \
|
||||
&& apk add --no-cache --virtual .build-deps curl \
|
||||
&& curl -sL $WEBPROC_URL | gzip -d - > /usr/local/bin/webproc \
|
||||
&& chmod +x /usr/local/bin/webproc \
|
||||
&& apk del .build-deps
|
||||
#configure dnsmasq
|
||||
RUN mkdir -p /etc/default/
|
||||
RUN echo -e "ENABLED=1\nIGNORE_RESOLVCONF=yes" > /etc/default/dnsmasq
|
||||
COPY dnsmasq.conf /etc/dnsmasq.conf
|
||||
#run!
|
||||
ENTRYPOINT ["webproc","--config","/etc/dnsmasq.conf","--","dnsmasq","--no-daemon"]
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM nextcloud:28.0.2-fpm
|
||||
FROM nextcloud:29.0.0-fpm
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y \
|
||||
Reference in new issue
Block a user