mirror of
https://github.com/aevea/action-kaniko.git
synced 2025-01-30 22:09:37 +01:00
41 lines
1 KiB
YAML
41 lines
1 KiB
YAML
name: Release
|
|
on:
|
|
push:
|
|
tags:
|
|
- "v*"
|
|
|
|
jobs:
|
|
release-notes:
|
|
name: Release Notes
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out code
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Release Notary Action
|
|
uses: docker://aevea/release-notary@sha256:690915bf87458fd8eb1e1ff0be34b33377f920eda3f38b96c62ecbf897c831f4
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
with:
|
|
entrypoint: release-notary
|
|
args: publish
|
|
|
|
- name: GitHub Package Registry
|
|
uses: aevea/action-kaniko@master
|
|
with:
|
|
registry: ghcr.io
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
image: kaniko
|
|
cache: true
|
|
cache_registry: cache
|
|
|
|
- name: Dockerhub
|
|
uses: aevea/action-kaniko@master
|
|
with:
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
|
image: aevea/kaniko
|
|
cache: true
|
|
cache_registry: aevea/cache
|