Skip to content

📦 Publishes a Docker image to a Docker registry

License

Notifications You must be signed in to change notification settings

actalog/dockerfile-cd

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Dockerfile CD

name: CD

on:
  workflow_run:
    workflows: ['CI']
    types:
      - completed
    branches:
      - main

jobs:
  dockerfile-cd:
    name: Dockerfile CD
    runs-on: ubuntu-latest
    steps:
      - uses: actalog/check-ci@main
      - uses: actions/checkout@v4
      - uses: actalog/dockerfile-cd@main
        with:
          image-name: actalog/some-software
          image-version: v1.0.0
          registry-username: actalog
          registry-token: ${{ secrets.DOCKER_HUB_TOKEN }}