Skip to content

[DRAFT] Gluon

[DRAFT] Gluon #1697

name: Docker image build test
on:
pull_request:
jobs:
push_to_registry:
name: Docker image build
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Setup variables
id: variables
run: echo "::set-output name=version::${GITHUB_REF##*/}"
- name: Docker image build.Not push
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile
push: false
tags: |
ghcr.io/ununifi/gluond:test