Skip to content

Commit

Permalink
New workflow to deploy to Docker Hub
Browse files Browse the repository at this point in the history
================> EXTRAS <================
> Branch name:	main
  • Loading branch information
devdrops committed Mar 11, 2024
1 parent 3cd8635 commit ad4f4d8
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions .github/workflows/publish-docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Docker Hub

on:
push:
branches:
- 'main'

jobs:

setup:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Docker login
run: |
docker login -u ${{ secrets.DOCKERHUB_USERNAME }} -p ${{ secrets.DOCKERHUB_PASSWORD }}
build-7_4:
runs-on: ubuntu-latest
steps:
- name: Build and Push 7.4 images
run: |
cd ./7.4
make latest push
build-8_0:
runs-on: ubuntu-latest
steps:
- name: Build and Push 8.0 images
run: |
cd ./8.0
make latest push
build-8_1:
runs-on: ubuntu-latest
steps:
- name: Build and Push 8.1 images
run: |
cd ./8.1
make latest push
build-8_2:
runs-on: ubuntu-latest
steps:
- name: Build and Push 8.2 images
run: |
cd ./8.2
make latest push
build-8_3:
runs-on: ubuntu-latest
steps:
- name: Build and Push 8.3 images
run: |
cd ./8.3
make latest push

0 comments on commit ad4f4d8

Please sign in to comment.