Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
0pens0 committed Aug 12, 2024
1 parent 296f075 commit 14d542e
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/k8sdeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,18 +57,18 @@ jobs:
git push
cd ..
- name: Deploy to TPCF
env:
CF_DOCKER_PASSWORD: ${{secrets.CF_DOCKER_PASSWORD}}
run: |
wget -q -O - https://packages.cloudfoundry.org/debian/cli.cloudfoundry.org.key | sudo apt-key add -
echo "deb https://packages.cloudfoundry.org/debian stable main" | sudo tee /etc/apt/sources.list.d/cloudfoundry-cli.list
sudo apt update
sudo apt install cf8-cli
cf api ${{ vars.CF_API_ENDPOINT }} --skip-ssl-validation
cf auth admin ${{ secrets.CF_API_TOKEN }}
cf target -o ${{ vars.CF_ORG }} -s ${{ vars.CF_SPACE }}
cf push spring-metal --docker-image harbor.vmtanzu.com/openso-tap-apps/spring-metal --docker-username openso
# - name: Deploy to TPCF
# env:
# CF_DOCKER_PASSWORD: ${{secrets.CF_DOCKER_PASSWORD}}
# run: |
# wget -q -O - https://packages.cloudfoundry.org/debian/cli.cloudfoundry.org.key | sudo apt-key add -
# echo "deb https://packages.cloudfoundry.org/debian stable main" | sudo tee /etc/apt/sources.list.d/cloudfoundry-cli.list
# sudo apt update
# sudo apt install cf8-cli
# cf api ${{ vars.CF_API_ENDPOINT }} --skip-ssl-validation
# cf auth admin ${{ secrets.CF_API_TOKEN }}
# cf target -o ${{ vars.CF_ORG }} -s ${{ vars.CF_SPACE }}
# cf push spring-metal --docker-image harbor.vmtanzu.com/openso-tap-apps/spring-metal --docker-username openso


- uses: stefanzweifel/git-auto-commit-action@v5
Expand Down

0 comments on commit 14d542e

Please sign in to comment.