Skip to content

Release 1.11.0-0

Release 1.11.0-0 #72

Workflow file for this run

name: Tag Docker Image CI
on:
push:
tags:
- v*
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to docker hub
uses: docker/login-action@v3
with:
username: ${{secrets.HUB_USERNAME}}
password: ${{secrets.HUB_PASSWORD}}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: |
bangbang93/openbmclapi
bangbang93/openbmclapi:${{env.RELEASE_VERSION}}
platforms: linux/amd64,linux/arm64
cache-from: type=gha
cache-to: type=gha,mode=max