Skip to content

Update dbc.yml

Update dbc.yml #2

Workflow file for this run

name: dbc
on:
push:
branches:
- "main"
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Log in 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
with:
driver: cloud
endpoint: "docker/devrel"
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
tags: "IMAGE"
# For pull requests, export results to the build cache.
# Otherwise, push to a registry.
# outputs: ${{ github.event_name == 'pull_request' && 'type=cacheonly' || 'type=registry,push=true' }}
outputs: ${{ 'type=registry,push=true' }}