Skip to content

删除workflows里无意义的一行 #17

删除workflows里无意义的一行

删除workflows里无意义的一行 #17

Workflow file for this run

name: Docker Hub Release
on:
push:
branches: [main]
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Docker
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Generate Tags
uses: docker/metadata-action@v4
id: metadata
with:
images: |
${{ secrets.DOCKERHUB_USERNAME }}/senkongdao
tags: |
type=raw,value=latest
- name: Build and Publish
uses: docker/build-push-action@v4
with:
context: .
file: Dockerfile
push: true
tags: ${{ steps.metadata.outputs.tags }}
labels: ${{ steps.metadata.outputs.labels }}