Hopefully finally fix tag syntax

pull/239/head
HubbeKing 3 years ago committed by Mike Lang
parent c217022189
commit 4e71d2ae75

@ -20,8 +20,6 @@ permissions:
jobs: jobs:
build: build:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
env:
TAG: ${GITHUB_SHA::8}
strategy: strategy:
fail-fast: true # cancel all in-progress jobs if any matrix job fails fail-fast: true # cancel all in-progress jobs if any matrix job fails
matrix: matrix:
@ -52,7 +50,7 @@ jobs:
with: with:
context: ./${{ matrix.component }} context: ./${{ matrix.component }}
file: Dockerfile file: Dockerfile
tags: ghcr.io/ekimekim/wubloader-${{ matrix.component }}:${{ env.TAG }} tags: ghcr.io/ekimekim/wubloader-${{ matrix.component }}:${GITHUB_SHA::8}
push: true push: true
- name: Build ${{ matrix.component }} latest - name: Build ${{ matrix.component }} latest

Loading…
Cancel
Save