Add OpenWrt version and git hash to Docker image tag

This commit is contained in:
Albrecht Lohofener
2024-09-04 11:56:12 +02:00
committed by GitHub
parent d577a74bf8
commit 000320fa6b
+6 -1
View File
@@ -11,6 +11,8 @@ jobs:
build:
name: Build
runs-on: ubuntu-latest
env:
OPENWRT_VERSION: 23.05.4
steps:
- name: Checkout
@@ -40,5 +42,8 @@ jobs:
push: true
provenance: false
platforms: linux/arm64
tags: albrechtloh/qemu-openwrt:latest
build-args: OPENWRT_VERSION=${{ env.OPENWRT_VERSION }}
tags: |
albrechtloh/qemu-openwrt:latest
albrechtloh/qemu-openwrt:openwrt-${{ env.OPENWRT_VERSION }}-${{ env.GIT_HASH }}