Skip to content

feat(adminer): switch to Adminer Evo, pre-login to database servers #85

feat(adminer): switch to Adminer Evo, pre-login to database servers

feat(adminer): switch to Adminer Evo, pre-login to database servers #85

Workflow file for this run

name: Docker
on:
push:
branches:
- "**"
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
caddy:
name: Build & Release
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
contents: write
packages: write
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
platforms: |
linux/amd64
linux/arm64
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/proxy
tags: |
type=schedule,pattern=weekly
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
- uses: google-github-actions/release-please-action@v3
if: github.ref == 'refs/heads/main'
id: create_release
with:
release-type: simple
- name: Build and push
uses: docker/build-push-action@v4
with:
context: proxy
push: ${{ steps.create_release.outputs.upload_url != null }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
platforms: |
linux/amd64
linux/arm64