Skip to content

fix(deps): update module github.com/go-acme/lego/v4 to v4.21.0 #228

fix(deps): update module github.com/go-acme/lego/v4 to v4.21.0

fix(deps): update module github.com/go-acme/lego/v4 to v4.21.0 #228

Workflow file for this run

name: docker
on:
pull_request:
push:
tags:
- "*"
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
docker:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
depth: 0
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
context: .
push: ${{ github.event_name != 'pull_request' }} # Never push on pull-request
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}