Skip to content

Deploy Nginx Image to GHCR #1

Deploy Nginx Image to GHCR

Deploy Nginx Image to GHCR #1

Workflow file for this run

name: Deploy Nginx Image to GHCR
on:
push:
paths:
- nginx/**
branches:
- portainer
workflow_dispatch:
jobs:
push-nginx-image:
runs-on: ubuntu-latest
defaults:
run:
working-directory: './hakai_erddap_nginx_proxy'
steps:
- name: 'Checkout GitHub Action'
uses: actions/checkout@main
- name: 'Login to GitHub Container Registry'
uses: docker/login-action@v1
with:

Check failure on line 23 in .github/workflows/build-nginx.yaml

View workflow run for this annotation

GitHub Actions / Deploy Nginx Image to GHCR

Invalid workflow file

The workflow is not valid. .github/workflows/build-nginx.yaml (Line: 23, Col: 18): Unexpected value '' .github/workflows/build-nginx.yaml (Line: 24, Col: 13): Unexpected value 'registry'
registry: ghcr.io
username: hakai-it
password: ${{ secrets.CI_TOKEN }}
- name: 'Build Inventory Image'
run: |
docker build . --tag ghcr.io/hakaiinstitute/hakai_erddap_nginx_proxy:latest
docker push ghcr.io/hakaiinstitute/hakai_erddap_nginx_proxy:latest