Skip to content

Commit

Permalink
update 重命名 dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
dr34m-cn committed Aug 27, 2024
1 parent fb99b24 commit a519ac1
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 14 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/buildAlpine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,13 @@ name: alpine构建
on:
push:
branches: [ 'main' ]
paths: [ 'dockerfiles/Dockerfile.alpine' ]
paths: [ 'dockerfiles/alpine.Dockerfile' ]

jobs:
build_docker:
runs-on: ubuntu-latest

steps:
- name: 检出仓库代码
uses: actions/checkout@v4

- name: 设置QEMU
uses: docker/setup-qemu-action@v3

Expand All @@ -28,8 +25,7 @@ jobs:
- name: 构建并推送
uses: docker/build-push-action@v6
with:
context: .
file: dockerfiles/Dockerfile.alpine
file: dockerfiles/alpine.Dockerfile
push: true
tags: dr34m/tao-sync:not-for-use-alpine
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/386,linux/arm/v6,linux/s390x,linux/ppc64le
8 changes: 2 additions & 6 deletions .github/workflows/buildPython.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,13 @@ name: python构建
on:
push:
branches: [ 'main' ]
paths: [ 'dockerfiles/Dockerfile.python' ]
paths: [ 'dockerfiles/python.Dockerfile' ]

jobs:
build_docker:
runs-on: ubuntu-latest

steps:
- name: 检出仓库代码
uses: actions/checkout@v4

- name: 设置QEMU
uses: docker/setup-qemu-action@v3

Expand All @@ -28,8 +25,7 @@ jobs:
- name: 构建并推送
uses: docker/build-push-action@v6
with:
context: .
file: dockerfiles/Dockerfile.python
file: dockerfiles/python.Dockerfile
push: true
tags: dr34m/tao-sync:not-for-use-python
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/386,linux/arm/v6,linux/s390x,linux/ppc64le
2 changes: 0 additions & 2 deletions dockerfiles/Dockerfile.alpine

This file was deleted.

2 changes: 2 additions & 0 deletions dockerfiles/alpine.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
FROM alpine:3.20.2
RUN apk update && apk add tzdata
File renamed without changes.

0 comments on commit a519ac1

Please sign in to comment.