Skip to content

Commit

Permalink
Merge pull request #2 from talgat-abdraimov/feat/project
Browse files Browse the repository at this point in the history
added building workflow
  • Loading branch information
talgat-abdraimov authored Jul 20, 2024
2 parents 128b06d + cf0e53a commit cca12d7
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/dockerhub-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Docker Hub Publish

on:
release:
types: [ created ]

jobs:
build-and-push:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/aigerim-apai:${{ github.ref_name }}

0 comments on commit cca12d7

Please sign in to comment.