Skip to content

Commit

Permalink
feat: update docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
franklaercio committed Feb 19, 2024
1 parent 5fad0c1 commit 5d9369c
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,11 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
run: echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_TOKEN }}

- name: Build Docker image
run: docker build -t $DOCKER_USERNAME/rinha-de-backend-2024-q1 .
Expand Down

0 comments on commit 5d9369c

Please sign in to comment.