mirror of
https://github.com/coredns/coredns.git
synced 2025-11-01 02:33:14 -04:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.4.0 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](ec3a7ce113...a12a3943b4)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
30 lines
842 B
YAML
30 lines
842 B
YAML
name: Docker Release
|
|
|
|
on:
|
|
release:
|
|
types: [published]
|
|
workflow_dispatch:
|
|
inputs:
|
|
release:
|
|
description: "Release (e.g., v1.9.0)"
|
|
required: true
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
docker-release:
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
DOCKER_LOGIN: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
DOCKER_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
|
|
RELEASE: ${{ github.event.inputs.release || github.event.release.tag_name }}
|
|
steps:
|
|
- uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
|
|
- name: Build Docker Images
|
|
run: make VERSION=${RELEASE:1} DOCKER=coredns -f Makefile.docker release
|
|
- name: Show Docker Images
|
|
run: docker images
|
|
- name: Publish Docker Images
|
|
run: make VERSION=${RELEASE:1} DOCKER=coredns -f Makefile.docker docker-push
|