Skip to content

fix slashes in dev deploy #154

fix slashes in dev deploy

fix slashes in dev deploy #154

Workflow file for this run

name: Deploy Docker Image to GHCR
on:
push:
branches:
- main
workflow_dispatch:
jobs:
push-image:
runs-on: ubuntu-latest
steps:
- name: "Make repo lowercase"
run: |
echo "REPO=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV}
- name: "Checkout GitHub Action"
uses: actions/checkout@v4
- name: "Login to GitHub Container Registry"
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GH_TOKEN}}
- name: "Build & Publish Docker Image"
run: |
docker build . --tag "ghcr.io/${REPO}:latest"
docker push "ghcr.io/${REPO}:latest"