mirror of
https://github.com/buanet/ioBroker.docker.git
synced 2025-12-24 13:45:32 +02:00
Update and rename build-debian-image-main.yml to build-debian-image-latest.yml
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user