Skip to content

chore: remove unnecessary code #17

chore: remove unnecessary code

chore: remove unnecessary code #17

Workflow file for this run

name: Test image
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Set Version
id: set-version
run: |
BGMI_VERSION=$(jq -r '.BGmi.version' info.json)
echo "BGMI_VERSION=${BGMI_VERSION}"
echo "BGMI_VERSION=${BGMI_VERSION}" >> $GITHUB_OUTPUT
-
name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: ${{ secrets.DOCKER_USERNAME }}/bgmi-all-in-one
tags: |
type=raw,value=test
-
name: Set Up QEMU
uses: docker/setup-qemu-action@v2
-
name: Set Up Buildx
uses: docker/setup-buildx-action@v2
-
name: BGmi
uses: docker/build-push-action@v4
with:
context: .
file: Dockerfile
platforms: |
linux/amd64
push: false
build-args: |
BGMI_VERSION=${{ steps.set-version.outputs.BGMI_VERSION }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}