Fix docker step in CI

This commit is contained in:
garronej 2023-04-01 16:35:55 +02:00
parent c30902e323
commit 09c7f4aa5a

View File

@ -79,17 +79,11 @@ jobs:
OUT=$GITHUB_REPOSITORY:$TO_VERSION,$GITHUB_REPOSITORY:latest OUT=$GITHUB_REPOSITORY:$TO_VERSION,$GITHUB_REPOSITORY:latest
OUT=$(echo "$OUT" | awk '{print tolower($0)}') OUT=$(echo "$OUT" | awk '{print tolower($0)}')
echo ::set-output name=docker_tags::$OUT echo ::set-output name=docker_tags::$OUT
- uses: actions/download-artifact@v2
with:
name: build
path: build
- run: tar -cvf build.tar ./build
- uses: docker/build-push-action@v2 - uses: docker/build-push-action@v2
with: with:
push: true push: true
context: . context: .
tags: ${{ steps.step1.outputs.docker_tags }} tags: ${{ steps.step1.outputs.docker_tags }}
file: Dockerfile.ci
github_pages: github_pages:
runs-on: ubuntu-latest runs-on: ubuntu-latest