Skip to content

Add 10 second delay to check should run logic if the triggering event… #149

Add 10 second delay to check should run logic if the triggering event…

Add 10 second delay to check should run logic if the triggering event… #149

Workflow file for this run

name: Build Docker Image
on:
push:
branches:
- cumulusci-next
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: .
push: ${{ github.event_name == 'push' }}
tags: |
ghcr.io/${{ github.repository }}:cumulusci-next
ghcr.io/${{ github.repository }}:${{ github.sha }}