@@ -12,31 +12,18 @@ jobs:
1212 steps :
1313 - name : Checkout
1414 uses : actions/checkout@v4
15- - name : Login to GitHub Container Registry
16- uses : docker/login- action@v3
15+ - name : Use Podman Build and Push Action
16+ uses : frozen-tapestry/podman-build-push- action@v1
1717 with :
18- registry : ghcr.io
19- username : ${{ github.actor }}
20- password : ${{ secrets.REGISTRY_TOKEN }}
21- - name : Docker meta
22- id : meta
23- uses : docker/metadata-action@v5
24- with :
25- images : ghcr.io/${{ github.repository }}
18+ login_registry : ghcr.io/${{ github.repository }}
19+ login_username : ${{ github.actor }}
20+ login_password : ${{ secrets.REGISTRY_TOKEN }}
21+ dockerfile : ./Containerfile
22+ push : true
2623 labels : |
2724 org.opencontainers.image.title=La Coctelera Backend
2825 org.opencontainers.image.description=Backend Service
2926 tags : |
3027 type=semver,pattern={{version}}
3128 type=semver,pattern={{major}}.{{minor}}
3229 type=ref,enable=true,priority=600,prefix=,suffix=,event=branch
33- - name : Set up Docker Buildx
34- uses : docker/setup-buildx-action@v3
35- - name : Build and Push
36- uses : docker/build-push-action@v5
37- with :
38- context : .
39- file : ./Dockerfile
40- push : true
41- tags : ${{ steps.meta.outputs.tags }}
42- labels : ${{ steps.meta.outputs.labels }}
0 commit comments