Skip to content

Commit

Permalink
Merge pull request #39 from feniln64/feature/forgetpassword
Browse files Browse the repository at this point in the history
updates
  • Loading branch information
feniln64 committed May 5, 2024
2 parents 1e3508a + 0c010c6 commit bdbfc26
Show file tree
Hide file tree
Showing 3 changed files with 88 additions and 626 deletions.
60 changes: 30 additions & 30 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,42 +5,42 @@ on:


jobs:
docker-build-push:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
# docker-build-push:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout repository
# uses: actions/checkout@v2

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
platforms: 'arm64,arm'
# - name: Set up QEMU
# uses: docker/setup-qemu-action@v2
# with:
# platforms: 'arm64,arm'


- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v2

- name: Login to GitLb Container Registry
uses: docker/login-action@v2
with:
registry: registry.gitlab.com
username: ${{ secrets.GITLAB_REGISTRY_USERNAME }}
password: ${{ secrets.GITLAB_REGISTRY_TOKEN }}
# - name: Login to GitLb Container Registry
# uses: docker/login-action@v2
# with:
# registry: registry.gitlab.com
# username: ${{ secrets.GITLAB_REGISTRY_USERNAME }}
# password: ${{ secrets.GITLAB_REGISTRY_TOKEN }}

- name: list files
run: ls -al
- name: create .env file
run: |
echo "REACT_APP_POSTHOG_API_TOKEN=${{secrets.REACT_APP_POSTHOG_API_TOKEN}}" > .env
echo "REACT_APP_POSTHOG_URL=${{secrets.REACT_APP_POSTHOG_URL}}" >> .env
# - name: list files
# run: ls -al
# - name: create .env file
# run: |
# echo "REACT_APP_POSTHOG_API_TOKEN=${{secrets.REACT_APP_POSTHOG_API_TOKEN}}" > .env
# echo "REACT_APP_POSTHOG_URL=${{secrets.REACT_APP_POSTHOG_URL}}" >> .env

- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile
push: true
tags: registry.gitlab.com/do-copypaste/copypaste_react:latest
# - name: Build and push
# uses: docker/build-push-action@v2
# with:
# context: .
# file: ./Dockerfile
# push: true
# tags: registry.gitlab.com/do-copypaste/copypaste_react:latest
# - name: build
# run: |
# docker buildx build -t ghcr.io/${{ github.repository_owner }}/copypaste_react:latest --push --platform=linux/arm64,linux/amd64 .
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^13.0.0",
"@testing-library/user-event": "^13.2.1",
"antd": "^5.17.0",
"aws-sdk": "^2.1502.0",
"axios": "^1.4.0",
"bootstrap": "^5.3.0",
Expand Down
Loading

0 comments on commit bdbfc26

Please sign in to comment.