From 44a22ef9c64e05e5677ca4dbff0530e257f603ab Mon Sep 17 00:00:00 2001 From: Rob Ellison Date: Wed, 28 Jun 2023 15:27:06 +0000 Subject: [PATCH] feat: add redis to build --- .github/workflows/auto-build.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/auto-build.yml b/.github/workflows/auto-build.yml index 975a3160..3b4722c3 100644 --- a/.github/workflows/auto-build.yml +++ b/.github/workflows/auto-build.yml @@ -7,7 +7,12 @@ on: jobs: release: - runs-on: ubuntu-latest + runs-on: ubuntu-latest + services: + redis: + image: redis:latest + ports: + - 6379:6379 steps: - name: Checkout uses: actions/checkout@v2 @@ -34,11 +39,15 @@ jobs: with: context: . # platforms: linux/amd64,linux/arm64 + container: redis # Use the Redis service container push: false load: true tags: airwalk-digital/airview-mdx-deck secrets: | "FONTAWESOME_NPM_AUTH_TOKEN=${{ secrets.FONTAWESOME_NPM_AUTH_TOKEN }}" + env: + REDIS_HOST: ${{ steps.redis-connection.outputs.host }} + REDIS_PORT: ${{ steps.redis-connection.outputs.port }} - name: Release env: