Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/hangover #139

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: update tags for hangover wine build
  • Loading branch information
scottyhardy committed Dec 27, 2021

Verified

This commit was signed with the committer’s verified signature.
rfratto Robert Fratto
commit 0d0413cb5b514756d2955cca4fb85b746204f228
23 changes: 14 additions & 9 deletions .github/workflows/build_hangover_arm.yml
Original file line number Diff line number Diff line change
@@ -47,15 +47,19 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Extract wine version
id: wine_ver
name: Extract versions for tags
id: version
run: |
WINE_VER="$(awk '{print $3}' hangover/wine/VERSION)"
if echo "${WINE_VER}" | grep -q -E "^[0-9]+(\.[0-9]+)+(-\S+)*$"; then
echo "Found wine version '${WINE_VER}'"
echo "::set-output name=value::${WINE_VER}"
cd hangover
WINE_VER="$(awk '{print $3}' wine/VERSION)"
HANGOVER_VER="$(git ls-remote --tags origin | sed -E 's/^.*hangover-(.*)$/\1/' | sort -Vr | head -1)"
if echo "${WINE_VER}" | grep -q -E "^[0-9]+(\.[0-9]+)+(-\S+)*$" && [ -n "${HANGOVER_VER}" ]; then
echo "Wine version: ${WINE_VER}"
echo "Hangover version: ${HANGOVER_VER}"
echo "::set-output name=wine::${WINE_VER}"
echo "::set-output name=hangover::${HANGOVER_VER}"
else
echo "ERROR: Unable to determine wine version"
echo "ERROR: Unable to determine versions for tags"
exit 1
fi
-
@@ -75,7 +79,8 @@ jobs:
platforms: linux/arm64
push: true
tags:
scottyhardy/docker-wine:hangover,
scottyhardy/docker-wine:hangover-arm64,
scottyhardy/docker-wine:hangover-wine-${{ steps.wine_ver.outputs.value }}-arm64,
scottyhardy/docker-wine:hangover-wine-${{ steps.wine_ver.outputs.value }}-arm64-${{ steps.timestamp.outputs.value }},
scottyhardy/docker-wine:hangover-${{ steps.version.outputs.hangover }}-wine-${{ steps.version.outputs.wine }}-arm64,
scottyhardy/docker-wine:hangover-${{ steps.version.outputs.hangover }}-wine-${{ steps.version.outputs.wine }}-arm64-${{ steps.timestamp.outputs.value }},
target: hangover