Skip to content

Update packages & bump squid (#505) #35

Update packages & bump squid (#505)

Update packages & bump squid (#505) #35

Workflow file for this run

name: Publish docker image
on:
push:
tags:
- v*
jobs:
push:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@v3
- name: Log in to registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
- name: Build & Push image
run: |
VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,')
[[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')
[ "$VERSION" == "master" ] && VERSION=latest
export VERSION=$VERSION
docker compose build indexer_processor indexer_graphql
docker compose push indexer_processor indexer_graphql