Skip to content

Test

Test #1

Workflow file for this run

name: ci
on:
push:
branches: main
jobs:
login:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build docker image
run: docker build -t <USERNAME>/<TAG>:<VERSION> .
-
name: Push to dockerhub
run: docker push <USERNAME>/<IMAGE>:<VERSION>