Skip to content

Add build container workflow #1

Add build container workflow

Add build container workflow #1

Workflow file for this run

name: Build Container
on: [push]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: 'Login to GitHub Container Registry'
uses: docker/login-action@v1
with:

Check failure on line 13 in .github/workflows/build-container.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-container.yml

Invalid workflow file

You have an error in your yaml syntax on line 13
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
- name: 'Build Inventory Image'
run: |
TAG="ghcr.io/lmartinking/duckbot:{{ github.sha }}"
docker build . --tag ${TAG}
docker push ${TAG}