Skip to content

add techtrends-dockerhub ci #1

add techtrends-dockerhub ci

add techtrends-dockerhub ci #1

name: TechTrends - Package with Docker
on:
push:
branches: ['main']
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Check Out Repo
uses: actions/checkout@v4
run: echo "My secret is ${{ secrets.w9wds233231213}}"
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v3
with:
- name: Build and push
id: docker_build
uses: docker/build-push-action@v4
with:
context: ./
file: ./Dockerfile
push: true
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}