Skip to content

graphQL integration testing #128

graphQL integration testing

graphQL integration testing #128

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
DOCKER_USER: ${{secrets.DOCKER_USER}}
DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}}
REPO_NAME: ${{secrets.REPO_NAME}}
jobs:
build:
permissions: write-all
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Log in to Docker.io
run: docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
- name: Bump version and push tag
id: tag_version
uses: mathieudutour/github-tag-action@v6.1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
tag_prefix: ''
- name: Build Docker image
run: docker build . --file Dockerfile --tag $DOCKER_USER/$REPO_NAME:${{ steps.tag_version.outputs.new_tag }}
- name: Push image to Docker.io
run: docker push $DOCKER_USER/$REPO_NAME:${{ steps.tag_version.outputs.new_tag }}