Skip to content

Create catalog-info.yaml #6

Create catalog-info.yaml

Create catalog-info.yaml #6

Workflow file for this run

name: ci
on:
push:
branches:
- "master"
jobs:
docker:
runs-on: ubuntu-latest
permissions:
contents: "read"
id-token: "write"
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
driver: docker
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: codesandbox/importers
tags: |
type=sha,prefix=
- uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}