Skip to content

Update Dockerfile

Update Dockerfile #14

Workflow file for this run

name: Build And Upload Docker Image
on: [push]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Login to GitHub Container Registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
- id: string
uses: ASzc/change-string-case-action@v2
with:
string: ${{ github.repository }}
- name: Build the ${{ github.repository }} Docker image
run: |
docker build . --tag ghcr.io/${{ steps.string.outputs.lowercase }}:latest
docker push ghcr.io/${{ steps.string.outputs.lowercase }}:latest