Skip to content

fix: remove Docker Hub credentials from test workflow services #419

fix: remove Docker Hub credentials from test workflow services

fix: remove Docker Hub credentials from test workflow services #419

Workflow file for this run

name: Build and Push Docker Images
permissions:
contents: read
on:
push:
branches:
- main
jobs:
build-and-push:
runs-on: ubuntu-latest
env:
VITE_APP_VERSION: "1.19.2"
steps:
- name: Checkout repository
uses: actions/checkout@v3
- 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 }}
- name: Build and push frontend image
uses: docker/build-push-action@v4
with:
context: ./frontend
push: true
tags: beerejustin/wizard-frontend:latest
build-args: |
VITE_APP_VERSION=1.19.2
VITE_BUILD_DATE=${{ github.event.head_commit.timestamp }}
- name: Build and push backend image
uses: docker/build-push-action@v4
with:
context: ./backend
push: true
tags: beerejustin/wizard-backend:latest