Skip to content

remove unused imports in server #14

remove unused imports in server

remove unused imports in server #14

Workflow file for this run

name: Push image to Docker Hub
on:
push:
branches:
- main
jobs:
to_dockerhub:
name: To Docker Hub
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Log in to Docker Hub
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/[email protected]
with:
images: cjgutz/unchained
- name: Build and push Docker image
uses: docker/[email protected]
with:
context: .
file: ./docker/Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}