Skip to content
This repository has been archived by the owner on Sep 8, 2024. It is now read-only.

v5.0.0

v5.0.0 #27

Workflow file for this run

name: Push release
on:
release:
types:
- published
jobs:
release:
name: Release Docker images
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Capture version code
id: version
run: echo ::set-output name=code::${GITHUB_REF#refs/*/}
- name: Build and push stable version
uses: docker/build-push-action@v2
with:
push: true
tags: ghcr.io/${{ github.repository }}/makibot:${{ steps.version.outputs.code }}
cache-from: type=gha
cache-to: type=gha,mode=max