Skip to content

Caddy: v2.7.6 - Keeweb: v1.18.7 #42

Caddy: v2.7.6 - Keeweb: v1.18.7

Caddy: v2.7.6 - Keeweb: v1.18.7 #42

Workflow file for this run

name: Docker Image CI
on:
push:
paths:
- 'versions/**'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Get version
id: vars
run: |
echo "caddy_version=$(cat versions/caddy.txt)" >> "$GITHUB_OUTPUT"
echo "keeweb_version=$(cat versions/keeweb.txt)" >> "$GITHUB_OUTPUT"
- name: Setup QEMU
id: qemu
uses: docker/[email protected]
with:
platforms: all
- name: Available platforms
run: echo ${{ steps.qemu.outputs.platforms }}
- name: Set up Docker Buildx
id: buildx
uses: docker/[email protected]
- name: Login to Docker Hub
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
platforms: linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7
push: true
tags: |
slurdge/keewebdav:latest
ghcr.io/slurdge/keewebdav:latest
slurdge/keewebdav:caddy_${{ steps.vars.outputs.caddy_version }}_keeweb_${{ steps.vars.outputs.keeweb_version }}
ghcr.io/slurdge/keewebdav:caddy_${{ steps.vars.outputs.caddy_version }}_keeweb_${{ steps.vars.outputs.keeweb_version }}
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}