Skip to content

Commit

Permalink
Merge pull request #13 from octoposprime/enhancement/ebr/12/remove-ci…
Browse files Browse the repository at this point in the history
…-addition-cd

The ci.yml file was removed, the script was added to the cd.yml file
  • Loading branch information
Maraza25 authored Mar 22, 2024
2 parents 04d1d5c + 22459d1 commit 8cde117
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 51 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ name: Docker Image Publish

on:
push:
tags: [ 'v*.*.*' ]
branches:
- 'phase*'

env:
REGISTRY: ghcr.io
Expand All @@ -21,8 +22,8 @@ jobs:
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
username: ${{ secrets.GH_USER }}
password: ${{ secrets.GH_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
Expand All @@ -38,5 +39,5 @@ jobs:
"JWT_SECRET_KEY=${{ secrets.JWT_SECRET_KEY }}"
"REDIS_PASSWORD=${{ secrets.REDIS_PASSWORD }}"
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:v1.0.0-test
labels: ${{ steps.meta.outputs.labels }}
46 changes: 0 additions & 46 deletions .github/workflows/ci.yml

This file was deleted.

0 comments on commit 8cde117

Please sign in to comment.