Skip to content

Merge branch 'upstream' #51

Merge branch 'upstream'

Merge branch 'upstream' #51

name: Build Docker Release Images
on:
workflow_dispatch:
push:
branches:
- 'master'
jobs:
ghcr_io:
runs-on: ubuntu-latest
steps:
- id: repoName
run: echo "::set-output name=lowerCase::${REPO_NAME,,}"
env:
REPO_NAME: ${{ github.repository }}
- run: echo
- name: Checkout
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
file: Dockerfile
platforms: linux/amd64
push: true
tags: |
ghcr.io/${{steps.repoName.outputs.lowerCase}}:latest