Skip to content

building docker with lstenv #1

building docker with lstenv

building docker with lstenv #1

Workflow file for this run

name: publish
on: [push]
jobs:
publish-docker:

Check failure on line 6 in .github/workflows/publish.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish.yml

Invalid workflow file

You have an error in your yaml syntax on line 6
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build docker image
run: |
docker build . --tag ghcr.io/cta-observatory/lstdock:latest
docker run ghcr.io/cta-observatory/lstdock:latest
docker push ghcr.io/cta-observatory/lstdock:latest