Skip to content

Commit

Permalink
Updated cicd.yml to store GIT_REGISTRY_TOKEN from secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
collinlucke committed Oct 9, 2024
1 parent 4ac027d commit 7721f0b
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
uses: actions/checkout@v4
- name: Login to Docker Hub
run: docker login -u ${{secrets.DOCKER_USERNAME}} -p ${{secrets.DOCKER_PASSWORD}}
- name: Set Environment Variables
run: echo "GIT_REGISTRY_TOKEN=${{secrets.GIT_REGISTRY_TOKEN}}" >> $GITHUB_ENV
- name: Build Docker Image
run: docker build -t collinlucke/baphomet-ui . --build-arg NODE_ENV='production' --build-arg VITE_SERVER_BASE_URL=`${{secrets.VITE_SERVER_BASE_URL}}`
- name: Publish Image to Docker Hub
Expand Down
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# Changelog

## [0.1.1] - 2024-10-09

### Added

- #### N/A

### Changed

- Updated `cicd.yml` to store `GIT_REGISTRY_TOKEN` from `secrets`

### Removed

- #### N/A

### Fixed

- #### N/A

<br/>

## [0.1.0] - 2024-10-09

### Added
Expand All @@ -24,3 +44,5 @@
- Stylex - Juice wasn't worth the squeeze

### Fixed

- #### N/A
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "baphomet-ui",
"private": true,
"version": "0.1.0",
"version": "0.1.1",
"type": "module",
"scripts": {
"preinstall": "node set-dependency.js",
Expand Down

0 comments on commit 7721f0b

Please sign in to comment.