Skip to content

Commit f3d093a

Browse files
committed
ci: use GitHub actions
1 parent b41dd20 commit f3d093a

12 files changed

Lines changed: 74 additions & 73 deletions

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/" # Location of package manifests
5+
schedule:
6+
interval: "weekly"
7+

.github/settings.yml

Lines changed: 0 additions & 66 deletions
This file was deleted.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Lint PR title
2+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
- edited
8+
- synchronize
9+
10+
jobs:
11+
lint:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6
15+
env:
16+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/main.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Docker CI
2+
3+
on:
4+
push:
5+
branches: [master]
6+
tags: ["*"]
7+
pull_request:
8+
9+
jobs:
10+
lint:
11+
uses: owncloud-docker/ubuntu/.github/workflows/lint-editorconfig.yml@master
12+
13+
build:
14+
needs: lint
15+
uses: owncloud-docker/ubuntu/.github/workflows/docker-build.yml@master
16+
with:
17+
docker-repo-name: owncloudci/${{ github.event.repository.name }}
18+
docker-tag: ${{ matrix.version }}
19+
docker-context: v${{ matrix.version }}
20+
docker-file: v${{ matrix.version }}/Dockerfile.multiarch
21+
docker-hub-username: ${{ vars.DOCKERHUB_USERNAME }}
22+
push: ${{ github.ref == 'refs/heads/master' }}
23+
secrets:
24+
docker-hub-password: ${{ secrets.DOCKERHUB_TOKEN }}
25+
docker-secrets: |
26+
mirror-url=${{ secrets.DEB_MIRROR_URL }}
27+
mirror-auth=machine ${{secrets.DEB_MIRROR_URL}} login ${{secrets.DEB_MIRROR_LOGIN}} password ${{secrets.DEB_MIRROR_PWD}}
28+
29+
strategy:
30+
matrix:
31+
#version: ["7.4", "8.0", "8.1", "8.2", "8.3", "8.4", "8.5"]
32+
version: ["8.3"]
33+
34+
update-docker-hub-description:
35+
needs: build
36+
if: github.ref == 'refs/heads/master'
37+
uses: owncloud-docker/ubuntu/.github/workflows/docker-hub-desc.yml@master
38+
with:
39+
docker-repo-name: owncloudci/${{ github.event.repository.name }}
40+
docker-repo-description: ownCloud PHP base image for use in CI
41+
docker-hub-username: ${{ vars.DOCKERHUB_USERNAME }}
42+
secrets:
43+
docker-hub-password: ${{ secrets.DOCKERHUB_TOKEN }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.claude/

v7.4/Dockerfile.multiarch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM docker.io/owncloud/ubuntu:22.04@sha256:69e2b55da1b9e238db0f9653c5c0dc815eaf7a97fd93ccc7befcd6baf2cc2393
1+
FROM owncloud/ubuntu:22.04@sha256:1d1f5d61aa08ca5a2c422b37835608405014388a1603c9d16e1186e8535cca2b
22

33
LABEL maintainer="ownCloud GmbH <devops@owncloud.com>" \
44
org.opencontainers.image.authors="ownCloud DevOps <devops@owncloud.com>" \

v8.0/Dockerfile.multiarch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM docker.io/owncloud/ubuntu:22.04@sha256:69e2b55da1b9e238db0f9653c5c0dc815eaf7a97fd93ccc7befcd6baf2cc2393
1+
FROM owncloud/ubuntu:22.04@sha256:1d1f5d61aa08ca5a2c422b37835608405014388a1603c9d16e1186e8535cca2b
22

33
LABEL maintainer="ownCloud GmbH <devops@owncloud.com>" \
44
org.opencontainers.image.authors="ownCloud DevOps <devops@owncloud.com>" \

v8.1/Dockerfile.multiarch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM docker.io/owncloud/ubuntu:22.04@sha256:69e2b55da1b9e238db0f9653c5c0dc815eaf7a97fd93ccc7befcd6baf2cc2393
1+
FROM owncloud/ubuntu:22.04@sha256:1d1f5d61aa08ca5a2c422b37835608405014388a1603c9d16e1186e8535cca2b
22

33
LABEL maintainer="ownCloud GmbH <devops@owncloud.com>" \
44
org.opencontainers.image.authors="ownCloud DevOps <devops@owncloud.com>" \

v8.2/Dockerfile.multiarch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM docker.io/owncloud/ubuntu:22.04@sha256:69e2b55da1b9e238db0f9653c5c0dc815eaf7a97fd93ccc7befcd6baf2cc2393
1+
FROM owncloud/ubuntu:22.04@sha256:1d1f5d61aa08ca5a2c422b37835608405014388a1603c9d16e1186e8535cca2b
22

33
LABEL maintainer="ownCloud GmbH <devops@owncloud.com>" \
44
org.opencontainers.image.authors="ownCloud DevOps <devops@owncloud.com>" \

v8.3/Dockerfile.multiarch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM docker.io/owncloud/ubuntu:22.04@sha256:69e2b55da1b9e238db0f9653c5c0dc815eaf7a97fd93ccc7befcd6baf2cc2393
1+
FROM owncloud/ubuntu:22.04@sha256:1d1f5d61aa08ca5a2c422b37835608405014388a1603c9d16e1186e8535cca2b
22

33
LABEL maintainer="ownCloud GmbH <devops@owncloud.com>" \
44
org.opencontainers.image.authors="ownCloud DevOps <devops@owncloud.com>" \

0 commit comments

Comments
 (0)