Jae-Won Chung commited on
Commit
2eb5843
1 Parent(s): c97bae1

Remove Docker push action

Browse files
Files changed (1) hide show
  1. .github/workflows/push_docker.yaml +0 -51
.github/workflows/push_docker.yaml DELETED
@@ -1,51 +0,0 @@
1
- name: Push Docker image
2
-
3
- on:
4
- push:
5
- branches:
6
- - master
7
- paths:
8
- - '.github/workflows/push_docker.yaml'
9
- - 'pegasus/**'
10
- - 'scripts/**'
11
- - 'sharegpt/**'
12
- - 'spitfight/**'
13
- - 'deployment/benchmark.Dockerfile'
14
- - 'LICENSE'
15
- - 'requirements-benchmark.txt'
16
- - '.gitignore'
17
-
18
- concurrency:
19
- group: ${{ github.ref }}-dhpush
20
- cancel-in-progress: true
21
-
22
- jobs:
23
- build_and_push:
24
- runs-on: ubuntu-latest
25
- steps:
26
- - name: Checkout repository
27
- uses: actions/checkout@v3
28
- - name: Docker Hub login
29
- uses: docker/login-action@v2
30
- with:
31
- username: ${{ secrets.DOCKER_HUB_USERNAME }}
32
- password: ${{ secrets.DOCKER_HUB_TOKEN }}
33
- - name: Generate image metadata
34
- id: meta
35
- uses: docker/metadata-action@v4
36
- with:
37
- images: mlenergy/leaderboard
38
- tags: latest
39
- - name: Setup Docker Buildx
40
- uses: docker/setup-buildx-action@v2
41
- - name: Build and push to Docker Hub
42
- uses: docker/build-push-action@v3
43
- with:
44
- context: .
45
- file: deployment/benchmark.Dockerfile
46
- builder: ${{ steps.buildx.outputs.name }}
47
- push: true
48
- tags: ${{ steps.meta.outputs.tags }}
49
- labels: ${{ steps.meta.outputs.labels }}
50
- cache-from: type=registry,ref=mlenergy/leaderboard:buildcache
51
- cache-to: type=registry,ref=mlenergy/leaderboard:buildcache,mode=max