Skip to content

Workflow file for this run

name: update
on:
push:
branches:
- master
paths:
- '00 - Prerequisites/Dockerfile'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
permissions:
packages: write
id-token: write
steps:
- uses: actions/[email protected]
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v5
with:

Check failure on line 32 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

You have an error in your yaml syntax on line 32
context: ''00 - Prerequisites/'
file: '00 - Prerequisites/Dockerfile'
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/my-nginx:latest
- uses: sigstore/cosign-installer@main
- name: Sign the images
run: |
cosign sign ${{ secrets.DOCKERHUB_USERNAME }}/my-nginx:latest