Skip to content

Commit

Permalink
-add very basic build
Browse files Browse the repository at this point in the history
  • Loading branch information
ronen4822 committed Aug 20, 2024
1 parent c3c143f commit 8865be8
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Build and deploy docker image
run-name: ${{ github.actor }}
on:
push:
branches:
- main
jobs:
build-and-deploy-docker-image:
runs-on: [ubuntu-latest]
steps:
-
name: Login to Docker Hub
uses: docker/#-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Build and push
uses: docker/build-push-action@v6
with:
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/token_registration:latest, ${{ secrets.DOCKERHUB_USERNAME }}/token_registration:1.0.0

0 comments on commit 8865be8

Please # to comment.