Skip to content

Commit

Permalink
action without secrets v5
Browse files Browse the repository at this point in the history
  • Loading branch information
matias.castillo committed Oct 10, 2024
1 parent b2dbe87 commit 810605f
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: deploy
name: Deploy

on: push

Expand All @@ -9,14 +9,12 @@ jobs:
- uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Build and push to Docker
- name: Build and push Docker image
uses: docker/build-push-action@v3
with:
context: .
file: ./Dockerfile
push: true
tags: |
${{ github.repository }}:latest
${{ github.repository }}:${{ github.sha }}
lenin.chavez/mayllu-frontend:latest # Cambia 'username' por tu nombre de usuario en Docker Hub
lenin.chavez/mayllu-frontend:${{ github.sha }}

0 comments on commit 810605f

Please sign in to comment.