Skip to content

refactor(graph-gateway): add query selector extractor and check (#561) #919

refactor(graph-gateway): add query selector extractor and check (#561)

refactor(graph-gateway): add query selector extractor and check (#561) #919

Workflow file for this run

name: Docker Image
# configure manual trigger
on:
workflow_dispatch:
push:
branches:
- main
- release
tags: ["v*"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Docker meta
id: docker_meta
uses: docker/metadata-action@dbef88086f6cef02e264edb7dbf63250c17cef6c # v5
with:
images: ghcr.io/edgeandnode/graph-gateway
tags: |
type=ref,event=tag
type=sha
- name: Login to GitHub Container Registry
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56 # v5
with:
context: .
file: Dockerfile
pull: true
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}
build-args: |
GH_USER=${{ github.repository_owner }}
GH_TOKEN=${{ secrets.GH_PRIVATE_TOKEN }}