Skip to content

ci: add docker image ci #1

ci: add docker image ci

ci: add docker image ci #1

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
- uses: actions/checkout@v4
- name: Setup Docker Buildx
uses: docker/[email protected]
- name: Docker Login
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
# list of Docker images to use as base name for tags
images: |
misakalinzi/misaka-bili-api
tags: |
type=sha
- name: Build and push Docker images
with: docker/[email protected]
push: true

Check failure on line 38 in .github/workflows/docker-image.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/docker-image.yml

Invalid workflow file

You have an error in your yaml syntax on line 38
tags: ${{ steps.meta.outputs.tags }}