1 Star 0 Fork 133

gfansenhua/yangfan

forked from test-instructor/yangfan 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
base.yml 1.27 KB
一键复制 编辑 原始数据 按行查看 历史
taylor 提交于 2023-09-23 02:51 . 基础景象
name: base
on:
push:
branches:
- feature/basedocker
env:
REGISTRY: yangfanz/
IMAGE_TAG: 3.10.${{ github.run_number }}
jobs:
python-chrome:
name: Building a python chrome image
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Login to Docker Container Registry
uses: docker/login-action@v1
with:
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Build and push python chrome image
run: |
docker build -t python -f base/python-chrome/Dockerfile .
docker tag python ${{ env.REGISTRY }}python:3.10.0.chrome
docker push ${{ env.REGISTRY }}python:3.10.0.chrome
python:
name: Building a python image
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Login to Docker Container Registry
uses: docker/login-action@v1
with:
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Build and push python image
run: |
docker build -t python -f base/python/Dockerfile .
docker tag python ${{ env.REGISTRY }}python:3.10.0
docker push ${{ env.REGISTRY }}python:3.10.0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/fansenhua/yangfan.git
git@gitee.com:fansenhua/yangfan.git
fansenhua
yangfan
yangfan
main

搜索帮助