Skip to content

Commit

Permalink
!
Browse files Browse the repository at this point in the history
  • Loading branch information
vict0rcarvalh0 committed Jun 14, 2024
1 parent e5294aa commit c8f16e4
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/act.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,12 @@ jobs:
# needs: [build, lint, test, security]
environment: production
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- uses: actions/checkout@v3
- name: Build and push Docker image
working-directory: src/sample-go-docker
run: |
docker build -t ${{ secrets.DOCKER_USERNAME }}/sample-go-docker:latest .
docker push ${{ secrets.DOCKER_USERNAME }}/sample-go-docker:latest
docker build -t ${{ secrets.DOCKER_USERNAME }}/seu-app .
docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
docker push ${{ secrets.DOCKER_USERNAME }}/seu-app
# - uses: actions/checkout@v3
# - name: Build and push Docker image
# run: |
Expand Down

0 comments on commit c8f16e4

Please sign in to comment.