bolto90 commited on
Commit
1b44a0b
·
1 Parent(s): 52ae333

Delete github-build-push.yml

Browse files
.github/workflows/github-build-push.yml DELETED
@@ -1,39 +0,0 @@
1
- name: Build and Push Container
2
-
3
- on:
4
- push:
5
- branches:
6
- - main
7
- # paths:
8
- # - 'Dockerfile'
9
- workflow_dispatch:
10
- jobs:
11
- build-and-push:
12
- runs-on: [ubuntu-latest]
13
- steps:
14
- - name: Checkout code
15
- uses: actions/checkout@v4
16
-
17
- - name: Set up QEMU
18
- uses: docker/setup-qemu-action@v1
19
-
20
- - name: Set up Docker Buildx
21
- uses: docker/setup-buildx-action@v1
22
-
23
- - name: Login to GitHub Container Registry
24
- uses: docker/login-action@v1
25
- with:
26
- registry: ghcr.io
27
- username: ${{ github.actor }}
28
- password: ${{ secrets.GITHUB_TOKEN }}
29
-
30
- - name: Build and Push Containers
31
- uses: docker/build-push-action@v2
32
- with:
33
- context: .
34
- file: Dockerfile
35
- platforms: linux/amd64,linux/arm64
36
- push: true
37
- tags: |
38
- ghcr.io/${{ github.repository }}:latest
39
- ghcr.io/${{ github.repository }}:${{ github.sha }}