Skip to content

Bump the go_modules group across 1 directory with 6 updates #283

Bump the go_modules group across 1 directory with 6 updates

Bump the go_modules group across 1 directory with 6 updates #283

Workflow file for this run

name: CI
on: [push]
jobs:
cancel:
runs-on: ubuntu-latest
name: Cancel Previous Runs
if: always()
steps:
- uses: styfle/cancel-workflow-action@d57d93c3a8110b00c3a2c0b64b8516013c9fd4c9
if: github.ref != 'refs/heads/master'
name: cancel old workflows
id: cancel
with:
access_token: ${{ secrets.GITHUB_TOKEN }}
- if: github.ref == 'refs/heads/master'
name: Don't cancel old workflows
id: dont_cancel
run: |
echo "Don't cancel old workflow"
# build-and-test:
# runs-on: ubuntu-latest
# permissions:
# contents: "read"
# steps:
# - name: Checkout repository
# uses: actions/checkout@v3
#
# - name: Setup with node and yarn
# uses: actions/setup-node@v3
# with:
# node-version: "16"
# cache-dependency-path: "web/yarn.lock"
#
# - name: Set yarn version
# run: make web/set-yarn-version
#
# - name: Set up Go
# uses: actions/setup-go@v3
# with:
# go-version: "^1.18"
#
# - name: Build web
# run: make web/build
#
# - name: Run web test
# run: make web/test
#
# - name: Build
# run: make bin/linux
#
# - name: Run Go test
# run: make go/test
build-docker-server:
runs-on: ubuntu-latest
name: Build docker image for the server
continue-on-error: false
steps:
- name: checkout
id: checkout
uses: actions/checkout@v2
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_PERSONAL_USERNAME }}
password: ${{ secrets.DOCKER_PERSONAL_PASSWORD }}
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
- name: Build and push to Dockerhub
uses: docker/build-push-action@v2
with:
tags: anuragprafulla/hermes_server:${{ github.sha }}
push: true
file: Dockerfile.server
build-args: GIT_COMMIT_HASH=${{ github.sha }}
build-docker-indexer:
runs-on: ubuntu-latest
name: Build docker image for the indexer
continue-on-error: false
steps:
- name: checkout
id: checkout
uses: actions/checkout@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_PERSONAL_USERNAME }}
password: ${{ secrets.DOCKER_PERSONAL_PASSWORD }}
- name: Build and push to Dockerhub
uses: docker/build-push-action@v2
with:
tags: anuragprafulla/hermes_indexer:${{ github.sha }}
push: true
file: Dockerfile.indexer
build-args: GIT_COMMIT_HASH=${{ github.sha }}