Skip to content

Merge pull request #16 from torus-economy/fix-token #10

Merge pull request #16 from torus-economy/fix-token

Merge pull request #16 from torus-economy/fix-token #10

Workflow file for this run

name: Explorer CI
on:
workflow_dispatch:
push:
branches:
- master
jobs:
build-docker:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build explorer latest
run: DOCKER_BUILDKIT=1 docker build --tag ghcr.io/torus-economy/explorer:latest .
- name: Push to GitHub Container Registry
run: docker push ghcr.io/torus-economy/explorer:latest