Skip to content

fixed bug that testcases doesn't work #7

fixed bug that testcases doesn't work

fixed bug that testcases doesn't work #7

Workflow file for this run

name: Build and Push Docker Image
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check Out Repo
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Set short SHA
id: shortsha
run: echo "::set-output name=sha::$(echo ${GITHUB_SHA:0:7})"
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: brobridgehub/gravity-dispatcher:${{ steps.shortsha.outputs.sha }}