Skip to content

docker images

docker images #48

Workflow file for this run

name: ci
on:
push:
branches:
- "master"
tags:
- "v*.*.*" # 匹配以 v 开头,后跟三个数字的标签
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
push: true
tags: |

Check failure on line 28 in .github/workflows/docker.yml

View workflow run for this annotation

GitHub Actions / ci

Invalid workflow file

The workflow is not valid. .github/workflows/docker.yml (Line: 28, Col: 17): Unexpected symbol: '|'. Located at position 12 within expression: github.ref | replace('refs/tags/', '')
star7th/showdoc:latest
star7th/showdoc:${{ github.ref }}
star7th/showdoc:${{ github.ref | replace('refs/tags/', '') }}