Skip to content

chore: 使用最新的 pnpm 版本,修复旧的 lock 文件中 https://registry.nlark.com 无法访问问题 #2

chore: 使用最新的 pnpm 版本,修复旧的 lock 文件中 https://registry.nlark.com 无法访问问题

chore: 使用最新的 pnpm 版本,修复旧的 lock 文件中 https://registry.nlark.com 无法访问问题 #2

Workflow file for this run

name: Create and publish a Docker image
on:
push:
branches: ["master"]
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
environment: production
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Login to Docker Hub
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/[email protected]
with:
images: dedicatus545/github-cors-server
- name: Build and push Docker image
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
with:
context: .
file: ./Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}