Skip to content

Updated Package Version to fix vulnerabilities #5

Updated Package Version to fix vulnerabilities

Updated Package Version to fix vulnerabilities #5

Workflow file for this run

name: Build and push docker images
on:
push:
branches:
- "main"
workflow_dispatch:
jobs:
docker-frontend:
runs-on: ubuntu-latest
steps:
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Git checkout
uses: actions/checkout@v3
- name: Build and push
uses: docker/build-push-action@v4
with:
context: ./frontend
file: ./frontend/Dockerfile
push: true
tags: anicklaus/concept-game_client
docker-backend:
runs-on: ubuntu-latest
steps:
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: git checkout
uses: actions/checkout@v3
- name: Build and push
uses: docker/build-push-action@v4
with:
context: ./backend
file: ./backend/Dockerfile
push: true
tags: anicklaus/concept-game_server