replace deprecated set-output with environment usage, deactivate broken test-lite

This commit is contained in:
Kevin Papst
2023-12-26 17:18:08 +01:00
parent ad645f5b58
commit c5dcf9e0fd

View File

@@ -33,25 +33,25 @@ jobs:
- name: get lastest version - name: get lastest version
id: remote_version id: remote_version
run: echo "::set-output name=version::$(lastversion https://github.com/kimai/kimai)" run: echo "kimai_version=$(lastversion https://github.com/kimai/kimai)" >> $GITHUB_ENV
- name: Build - name: Build
uses: docker/build-push-action@v4 uses: docker/build-push-action@v4
with: with:
context: . context: .
build-args: | build-args: |
KIMAI=${{steps.remote_version.outputs.version}} KIMAI=${{ env.kimai_version }}
TIMEZONE=Europe/London TIMEZONE=Europe/London
BASE=${{ matrix.server }} BASE=${{ matrix.server }}
target: ${{ matrix.type }} target: ${{ matrix.type }}
platforms: linux/amd64,linux/arm64 #,linux/arm/v8,linux/arm/v7,linux/arm/v6 platforms: linux/amd64,linux/arm64 #,linux/arm/v8,linux/arm/v7,linux/arm/v6
tags: | tags: |
kimai/kimai2:${{ matrix.server }}-${{ matrix.type }} kimai/kimai2:${{ matrix.server }}-${{ matrix.type }}
kimai/kimai2:${{ matrix.server }}-${{steps.remote_version.outputs.version}}-${{ matrix.type }} kimai/kimai2:${{ matrix.server }}-${{ env.kimai_version }}-${{ matrix.type }}
push: true push: true
# see https://github.com/kimai/kimai/issues/4503
- name: Test Lite # - name: Test Lite
run: docker run --rm --entrypoint /assets/test-lite.sh kimai/kimai2:${{ matrix.server }}-${{ matrix.type }} # run: docker run --rm --entrypoint /assets/test-lite.sh kimai/kimai2:${{ matrix.server }}-${{ matrix.type }}
tag: tag:
needs: build needs: build