-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(workflows): 🎉 update action workflows
- Loading branch information
1 parent
c4aebe8
commit 1b821bc
Showing
2 changed files
with
33 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Docker Image CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
||
# - name: Checkout Code | ||
# uses: actions/checkout@v3 | ||
|
||
# - name: Extract Version from package.json | ||
# id: project_version | ||
# run: echo "::set-output name=version::$(node -e 'console.log(require("./package.json").version)')" | ||
|
||
# - name: Build the Docker Image | ||
# run: | | ||
# docker build \ | ||
# --file Dockerfile-dev \ | ||
# --tag robolaunchio/frontend-public:${{ steps.project_version.outputs.version }}-dev \ | ||
# . | ||
|
||
# - name: Login to Docker Hub | ||
# run: docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} | ||
|
||
# - name: Push the Docker Image to Docker Hub | ||
# run: docker push robolaunchio/frontend-public:${{ steps.project_version.outputs.version }}-dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters