Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Commit

Permalink
feat: adding a dockerhub image
Browse files Browse the repository at this point in the history
  • Loading branch information
jagalindo authored Jun 6, 2023
1 parent f741afc commit 07732df
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Docker Image CI

on:
push:
tags:
- v[0-9]+.[0-9]+.*

jobs:

build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker build . --file Dockerfile --tag flamapy/flamapy-fm-dist:$(date +%s)
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_API_TOKEN }}
- name: Push the Docker image
run: docker push flamapy/flamapy-fm-dist:$(date +%s)

0 comments on commit 07732df

Please sign in to comment.