Skip to content

Add more CSS magic and input for URL #23

Add more CSS magic and input for URL

Add more CSS magic and input for URL #23

Workflow file for this run

name: Docker Image CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
IMAGE_TAG: vmandic/tris:main-${{ github.run_number }}
jobs:
build:
name: Build docker image and push to Docker hub
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker build . --file ./docker/Dockerfile --tag ${{ env.IMAGE_TAG }}
- name: Log in to Docker Hub
run: docker login --username "${{ secrets.DOCKER_USERNAME }}" --password "${{ secrets.DOCKER_PAT }}"
- name: Push the Docker image to Docker Hub
run: docker push ${{ env.IMAGE_TAG }}