From 000320fa6b3e31b1e700014fe6b26d10aad89eba Mon Sep 17 00:00:00 2001 From: Albrecht Lohofener Date: Wed, 4 Sep 2024 11:56:12 +0200 Subject: [PATCH] Add OpenWrt version and git hash to Docker image tag --- .github/workflows/build.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ee85abf..9a8b490 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 }}