Update actions

This commit is contained in:
Christopher (Cris) Fuhrman 2024-09-05 15:44:59 -04:00 committed by GitHub
parent 901b3b98fc
commit 15b7361508
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,16 +9,16 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Check Out Repo - name: Check Out Repo
uses: actions/checkout@v2 uses: actions/checkout@v4
- name: Log in to Docker Hub - name: Log in to Docker Hub
uses: docker/login-action@v1 uses: docker/login-action@v3
with: with:
username: ${{ secrets.DOCKERHUB_USERNAME }} username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and Push Docker image for Backend - name: Build and Push Docker image for Backend
uses: docker/build-push-action@v2 uses: docker/build-push-action@v6
with: with:
context: ./server context: ./server
file: ./server/Dockerfile file: ./server/Dockerfile