Deploy Nginx Image to GHCR #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 GitHub Actions / Deploy Nginx Image to GHCRInvalid workflow file
|
||
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 |