Skip to content

Commit

Permalink
Merge pull request #24 from FOSS-Community/Mr-Sunglasses-patch-1
Browse files Browse the repository at this point in the history
feat: Create ci.yml
  • Loading branch information
Mr-Sunglasses authored Apr 10, 2024
2 parents 82e1f39 + 041926a commit fb415b8
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: CI Pipeline

on:
release:
branches: ["main"]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Login Dockerhub
env:
DOCKER_USERNAME: ${{secrets.DOCKER_USERNAME}}
DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}}
run: docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD

- name: Build the Docker image
run: docker build -t mrsunglasses/linkliberate .
- name: Push to Dockerhub
run: docker push mrsunglasses/linkliberate:latest

0 comments on commit fb415b8

Please sign in to comment.