Actions/docker/build-push-action
docker

build-push-action

docker/build-push-action

View on GitHub

GitHub Action: build-push-action

1,000stars
200forks
0.5M uses
Workflowv1.0.0

About

This is a GitHub Action for build-push-action. It provides automation capabilities for your workflows.

Workflow Example

name: CI
on: [push, pull_request]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: docker/build-push-action@v4
        with:
          fetch-depth: 0
      
      - name: Run tests
        run: npm test

Inputs

repository

Repository name with owner

Default: ${{ github.repository }}

ref

The branch, tag or SHA to checkout

token

Personal access token (PAT)

Default: ${{ github.token }}

fetch-depth

Number of commits to fetch

Default: 1

Metadata

Language

TypeScript

Last Updated

1/1/2024

Latest Release

v1.0.0