25 Commits
0.0.1 ... 0.1.0

Author SHA1 Message Date
407b794043 Bump VERSION 2022-10-17 14:53:39 -04:00
35c13a48d3 Merge pull request #6 from loganmarchione/renovate/ubuntu-22.x
Update ubuntu Docker tag to v22
2022-10-17 18:53:07 +00:00
e3612164e3 Merge pull request #5 from loganmarchione/renovate/docker-setup-qemu-action-2.x
Update docker/setup-qemu-action action to v2
2022-10-17 16:07:13 +00:00
e997ba39b8 Merge pull request #4 from loganmarchione/renovate/docker-setup-buildx-action-2.x
Update docker/setup-buildx-action action to v2
2022-10-17 16:04:01 +00:00
be67b46f83 Merge pull request #2 from loganmarchione/renovate/docker-login-action-2.x
Update docker/login-action action to v2
2022-10-17 16:00:35 +00:00
031296c727 Update ubuntu Docker tag to v22 2022-10-17 15:57:40 +00:00
ea6aa6f7fd Update docker/setup-qemu-action action to v2 2022-10-17 15:57:34 +00:00
c012d1f8d8 Update docker/setup-buildx-action action to v2 2022-10-17 15:57:28 +00:00
a75fd490ce Update docker/login-action action to v2 2022-10-17 15:57:24 +00:00
dadfcfa306 Merge pull request #1 from loganmarchione/renovate/docker-build-push-action-3.x
Update docker/build-push-action action to v3
2022-10-17 15:52:56 +00:00
ff4d33d36d Update docker/build-push-action action to v3 2022-10-17 15:46:12 +00:00
688fcb4951 Create renovate.json 2022-10-17 15:45:37 +00:00
f8c6bb98ac Useless change to keep GitHub Actions running 2022-09-05 15:05:36 +00:00
14421c6a7e Update main.yml 2022-07-12 21:51:45 -04:00
b48180621c Delete container_scan.yml 2022-07-12 21:45:20 -04:00
0abfb59001 Update GitHub Actions Checkout to v3 2022-05-24 14:05:03 -04:00
aa91ecf18b Update GitHub Actions Checkout to v3 2022-05-24 14:04:41 -04:00
2f6693f42f Merge branch 'master' of https://github.com/loganmarchione/docker-webdav-nginx 2022-04-16 21:42:58 -04:00
7a2fd629c4 Update README.md 2022-04-16 21:41:36 -04:00
0975574f66 Add multi-arch builds 2022-04-16 21:36:03 -04:00
264cf6a576 Bump VERSION 2022-04-16 21:35:47 -04:00
39f83351ae Update main.yml 2022-04-06 13:14:06 -04:00
4069c0b8ab Update container_scan.yml 2022-04-06 13:09:46 -04:00
149df92f62 Update README.md 2022-04-02 16:52:26 -04:00
18a481aefb Update main.yml 2022-04-02 16:46:17 -04:00
6 changed files with 29 additions and 54 deletions

9
.github/renovate.json vendored Normal file
View File

@ -0,0 +1,9 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
],
"dependencyDashboard": true,
"dependencyDashboardTitle": "Renovate Dashboard",
"labels": ["renovatebot"]
}

View File

@ -1,43 +0,0 @@
name: Container scan on commit to master
on:
push:
branches:
- master
env:
USER: loganmarchione
REPO: docker-webdav-nginx
jobs:
ubuntu_ci:
name: Build and scan
runs-on: ubuntu-latest
steps:
- name: Check out the codebase
uses: actions/checkout@v2
- name: Set variables
run: |
VER=$(cat VERSION)
echo "VERSION=$VER" >> $GITHUB_ENV
- name: Build Docker Image
uses: docker/build-push-action@v2
with:
push: false
context: .
file: Dockerfile
load: true
tags: |
${{ env.USER }}/${{ env.REPO }}:${{ env.VERSION }}
${{ env.USER }}/${{ env.REPO }}:latest
- name: Container scan
uses: azure/container-scan@v0
with:
image-name: ${{ env.USER }}/${{ env.REPO }}:${{ env.VERSION }}
severity-threshold: CRITICAL
run-quality-checks: true

View File

@ -6,6 +6,7 @@ on:
- "[0-9]+.[0-9]+.[0-9]+" - "[0-9]+.[0-9]+.[0-9]+"
schedule: schedule:
- cron: "0 5 * * 0" - cron: "0 5 * * 0"
workflow_dispatch:
env: env:
USER: loganmarchione USER: loganmarchione
@ -19,15 +20,18 @@ jobs:
steps: steps:
- name: Check out the codebase - name: Check out the codebase
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Set variables - name: Set variables
run: | run: |
VER=$(cat VERSION) VER=$(cat VERSION)
echo "VERSION=$VER" >> $GITHUB_ENV echo "VERSION=$VER" >> $GITHUB_ENV
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker Image - name: Build Docker Image
uses: docker/build-push-action@v2 uses: docker/build-push-action@v3
with: with:
push: false push: false
context: . context: .
@ -40,7 +44,7 @@ jobs:
- name: Test image - name: Test image
run: | run: |
docker images docker images
docker run --name test-container --detach --env WEBDAV_USER=user1 --env WEBDAV_PASS=password1 --volume 'webdav:/var/www/webdav' ${USER}/${REPO}:${VERSION} docker run --name test-container --detach --env WEBDAV_USER=user --env WEBDAV_PASS=password1 --volume 'webdav:/var/www/webdav' ${USER}/${REPO}:${VERSION}
docker ps -a docker ps -a
- name: Container scan - name: Container scan
@ -58,29 +62,33 @@ jobs:
steps: steps:
- name: Check out the codebase - name: Check out the codebase
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Set variables - name: Set variables
run: | run: |
VER=$(cat VERSION) VER=$(cat VERSION)
echo "VERSION=$VER" >> $GITHUB_ENV echo "VERSION=$VER" >> $GITHUB_ENV
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1 uses: docker/setup-buildx-action@v2
- name: Login to DockerHub - name: Login to DockerHub
uses: docker/login-action@v1 uses: docker/login-action@v2
with: with:
username: ${{ secrets.DOCKER_HUB_USER }} username: ${{ secrets.DOCKER_HUB_USER }}
password: ${{ secrets.DOCKER_HUB_PASS }} password: ${{ secrets.DOCKER_HUB_PASS }}
logout: true logout: true
- name: Build Docker Image - name: Build Docker Image
uses: docker/build-push-action@v2 uses: docker/build-push-action@v3
with: with:
push: true push: true
context: . context: .
file: Dockerfile file: Dockerfile
platforms: linux/amd64,linux/arm64,linux/arm/v7
tags: | tags: |
${{ env.USER }}/${{ env.REPO }}:${{ env.VERSION }} ${{ env.USER }}/${{ env.REPO }}:${{ env.VERSION }}
${{ env.USER }}/${{ env.REPO }}:latest ${{ env.USER }}/${{ env.REPO }}:latest

View File

@ -1,4 +1,4 @@
FROM ubuntu:focal FROM ubuntu:jammy
ARG BUILD_DATE ARG BUILD_DATE

View File

@ -9,6 +9,7 @@ Runs a Nginx WebDav server in Docker
- Image base: [Ubuntu](https://hub.docker.com/_/ubuntu) - Image base: [Ubuntu](https://hub.docker.com/_/ubuntu)
- Init system: N/A - Init system: N/A
- Application: [Nginx](https://nginx.org/) - Application: [Nginx](https://nginx.org/)
- Architecture: `linux/amd64,linux/arm64,linux/arm/v7`
## Explanation ## Explanation
@ -31,7 +32,7 @@ Runs a Nginx WebDav server in Docker
### Environment variables ### Environment variables
| Variable | Required? | Definition | Example | Comments | | Variable | Required? | Definition | Example | Comments |
|-------------|-----------|----------------------------------|----------------------------|--------------------------------------------------------------| |-------------|-----------|----------------------------------|----------------------------|--------------------------------------------------------------|
| WEBDAV_USER | No | WebDav username | user1 | user AND pass need to be set for authentication to work | | WEBDAV_USER | No | WebDav username | user | user AND pass need to be set for authentication to work |
| WEBDAV_PASS | No | WebDav password | password1 | user AND pass need to be set for authentication to work | | WEBDAV_PASS | No | WebDav password | password1 | user AND pass need to be set for authentication to work |
### Ports ### Ports

View File

@ -1 +1 @@
0.0.1 0.1.0