Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/" # Location of package manifests
schedule:
interval: "weekly"

66 changes: 0 additions & 66 deletions .github/settings.yml

This file was deleted.

16 changes: 16 additions & 0 deletions .github/workflows/lint-pr-title.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Lint PR title

on:
pull_request:
types:
- opened
- edited
- synchronize

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43 changes: 43 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Docker CI

on:
push:
branches: [master]
tags: ["*"]
pull_request:

jobs:
lint:
uses: owncloud-docker/ubuntu/.github/workflows/lint-editorconfig.yml@master

build:
needs: lint
uses: owncloud-docker/ubuntu/.github/workflows/docker-build.yml@master
with:
docker-repo-name: owncloudci/${{ github.event.repository.name }}
docker-tag: ${{ matrix.version }}
docker-context: v${{ matrix.version }}
docker-file: v${{ matrix.version }}/Dockerfile.multiarch
docker-hub-username: ${{ vars.DOCKERHUB_USERNAME }}
push: ${{ github.ref == 'refs/heads/master' }}
secrets:
docker-hub-password: ${{ secrets.DOCKERHUB_TOKEN }}
docker-secrets: |
mirror-url=${{ secrets.DEB_MIRROR_URL }}
mirror-auth=machine ${{secrets.DEB_MIRROR_URL}} login ${{secrets.DEB_MIRROR_LOGIN}} password ${{secrets.DEB_MIRROR_PWD}}

strategy:
matrix:
#version: ["7.4", "8.0", "8.1", "8.2", "8.3", "8.4", "8.5"]
version: ["8.3", "8.4", "8.5"]

update-docker-hub-description:
needs: build
if: github.ref == 'refs/heads/master'
uses: owncloud-docker/ubuntu/.github/workflows/docker-hub-desc.yml@master
with:
docker-repo-name: owncloudci/${{ github.event.repository.name }}
docker-repo-description: ownCloud PHP base image for use in CI
docker-hub-username: ${{ vars.DOCKERHUB_USERNAME }}
secrets:
docker-hub-password: ${{ secrets.DOCKERHUB_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.claude/
2 changes: 2 additions & 0 deletions .trivyignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Ignore snakeoil SSL key
/etc/ssl/private/ssl-cert-snakeoil.key
2 changes: 1 addition & 1 deletion v7.4/Dockerfile.multiarch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.io/owncloud/ubuntu:22.04@sha256:69e2b55da1b9e238db0f9653c5c0dc815eaf7a97fd93ccc7befcd6baf2cc2393
FROM owncloud/ubuntu:22.04@sha256:1d1f5d61aa08ca5a2c422b37835608405014388a1603c9d16e1186e8535cca2b

LABEL maintainer="ownCloud GmbH <devops@owncloud.com>" \
org.opencontainers.image.authors="ownCloud DevOps <devops@owncloud.com>" \
Expand Down
2 changes: 1 addition & 1 deletion v8.0/Dockerfile.multiarch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.io/owncloud/ubuntu:22.04@sha256:69e2b55da1b9e238db0f9653c5c0dc815eaf7a97fd93ccc7befcd6baf2cc2393
FROM owncloud/ubuntu:22.04@sha256:1d1f5d61aa08ca5a2c422b37835608405014388a1603c9d16e1186e8535cca2b

LABEL maintainer="ownCloud GmbH <devops@owncloud.com>" \
org.opencontainers.image.authors="ownCloud DevOps <devops@owncloud.com>" \
Expand Down
2 changes: 1 addition & 1 deletion v8.1/Dockerfile.multiarch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.io/owncloud/ubuntu:22.04@sha256:69e2b55da1b9e238db0f9653c5c0dc815eaf7a97fd93ccc7befcd6baf2cc2393
FROM owncloud/ubuntu:22.04@sha256:1d1f5d61aa08ca5a2c422b37835608405014388a1603c9d16e1186e8535cca2b

LABEL maintainer="ownCloud GmbH <devops@owncloud.com>" \
org.opencontainers.image.authors="ownCloud DevOps <devops@owncloud.com>" \
Expand Down
2 changes: 1 addition & 1 deletion v8.2/Dockerfile.multiarch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.io/owncloud/ubuntu:22.04@sha256:69e2b55da1b9e238db0f9653c5c0dc815eaf7a97fd93ccc7befcd6baf2cc2393
FROM owncloud/ubuntu:22.04@sha256:1d1f5d61aa08ca5a2c422b37835608405014388a1603c9d16e1186e8535cca2b

LABEL maintainer="ownCloud GmbH <devops@owncloud.com>" \
org.opencontainers.image.authors="ownCloud DevOps <devops@owncloud.com>" \
Expand Down
2 changes: 1 addition & 1 deletion v8.3/Dockerfile.multiarch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.io/owncloud/ubuntu:22.04@sha256:69e2b55da1b9e238db0f9653c5c0dc815eaf7a97fd93ccc7befcd6baf2cc2393
FROM owncloud/ubuntu:22.04@sha256:1d1f5d61aa08ca5a2c422b37835608405014388a1603c9d16e1186e8535cca2b

LABEL maintainer="ownCloud GmbH <devops@owncloud.com>" \
org.opencontainers.image.authors="ownCloud DevOps <devops@owncloud.com>" \
Expand All @@ -10,7 +10,7 @@
VOLUME ["/var/www/owncloud"]

ENV ORACLE_HOME=/usr/lib/oracle/12.2/client64
ENV LD_LIBRARY_PATH=/usr/lib/oracle/12.2/client64/lib/${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}

Check warning on line 13 in v8.3/Dockerfile.multiarch

View workflow job for this annotation

GitHub Actions / build (8.3) / build

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$LD_LIBRARY_PATH' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/
ENV APACHE_LOGGING_PATH=/dev/stdout

ARG RETRY_VERSION
Expand Down
2 changes: 1 addition & 1 deletion v8.4/Dockerfile.multiarch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.io/owncloud/ubuntu:22.04@sha256:69e2b55da1b9e238db0f9653c5c0dc815eaf7a97fd93ccc7befcd6baf2cc2393
FROM owncloud/ubuntu:22.04@sha256:1d1f5d61aa08ca5a2c422b37835608405014388a1603c9d16e1186e8535cca2b

LABEL maintainer="ownCloud GmbH <devops@owncloud.com>" \
org.opencontainers.image.authors="ownCloud DevOps <devops@owncloud.com>" \
Expand Down
2 changes: 1 addition & 1 deletion v8.5/Dockerfile.multiarch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.io/owncloud/ubuntu:22.04@sha256:69e2b55da1b9e238db0f9653c5c0dc815eaf7a97fd93ccc7befcd6baf2cc2393
FROM owncloud/ubuntu:22.04@sha256:1d1f5d61aa08ca5a2c422b37835608405014388a1603c9d16e1186e8535cca2b

LABEL maintainer="ownCloud GmbH <devops@owncloud.com>" \
org.opencontainers.image.authors="ownCloud DevOps <devops@owncloud.com>" \
Expand Down
Loading