Update and rename build-debian-image-main.yml to build-debian-image-latest.yml

This commit is contained in:
André Germann
2021-12-23 18:55:00 +01:00
committed by GitHub
parent 465a412bc2
commit a9d4f38bdb

View File

@@ -1,23 +1,23 @@
# Github action to build Docker image from main branch (tag: latest)
name: Build debian based image (latest)
name: Build debian image (latest)
on:
workflow_dispatch:
release:
types:
- published
schedule:
- cron: '42 3 * * 5'
- released
jobs:
bulid-latest-image:
runs-on: ubuntu-latest
steps:
- name: Checkout repo (main)
- name: Getting published release tag
run: echo "RELEASE_TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Checkout repo
uses: actions/checkout@v2.4.0
with:
repository: 'buanet/ioBroker.docker'
ref: 'main'
ref: ${{ env.RELEASE_TAG }}
- name: Get and write version and date
id: version