test automation
Some checks failed
Build and Deploy docker container / build (push) Failing after 47s
Some checks failed
Build and Deploy docker container / build (push) Failing after 47s
This commit is contained in:
parent
e0e5159af9
commit
ba234be5e8
@ -14,33 +14,55 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
RUNNER_TOOL_CACHE: /toolcache
|
RUNNER_TOOL_CACHE: /toolcache
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Set up Docker Buildx
|
uses: actions/setup-go@v3
|
||||||
uses: docker/setup-buildx-action@v3
|
|
||||||
-
|
|
||||||
name: Login to Docker Hub
|
|
||||||
uses: docker/login-action@v3
|
|
||||||
with:
|
with:
|
||||||
registry: git.jonb.io
|
go-version: '1.20'
|
||||||
username: ${{ gitea.actor }}
|
-
|
||||||
password: ${{ secrets.JONBIO_CI }}
|
uses: actions/go-hashfiles@v0.0.1
|
||||||
-
|
id: get-hash
|
||||||
name: Build and push
|
with:
|
||||||
uses: docker/build-push-action@v6
|
patterns: |-
|
||||||
with:
|
**/yarn.lock
|
||||||
push: true
|
**.[jt]sx
|
||||||
tags: git.jonb.io/jblu/jonbio:latest
|
-
|
||||||
|
name: Echo hash
|
||||||
|
run: echo ${{ steps.get-hash.outputs.hash }}
|
||||||
|
# -
|
||||||
|
# name: Restore cache
|
||||||
|
# uses: actions/cache@v4
|
||||||
|
# with:
|
||||||
|
# path: .next/cache
|
||||||
|
# key: ${{ runner.os }}-nextjs-${{ steps.get-hash.outputs.hash('**/yarn.lock') }}-${{ steps.get-hash.outputs.hash('**/yarn.lock', '**.[jt]sx') }}
|
||||||
|
# restore-keys: |
|
||||||
|
# ${{ steps.get-hash.outputs.hash }}
|
||||||
|
# -
|
||||||
|
# name: Set up Docker Buildx
|
||||||
|
# uses: docker/setup-buildx-action@v3
|
||||||
|
# -
|
||||||
|
# name: Login to Docker Hub
|
||||||
|
# uses: docker/login-action@v3
|
||||||
|
# with:
|
||||||
|
# registry: git.jonb.io
|
||||||
|
# username: ${{ gitea.actor }}
|
||||||
|
# password: ${{ secrets.JONBIO_CI }}
|
||||||
|
# -
|
||||||
|
# name: Build and push
|
||||||
|
# uses: docker/build-push-action@v6
|
||||||
|
# with:
|
||||||
|
# push: true
|
||||||
|
# tags: git.jonb.io/jblu/jonbio:latest
|
||||||
|
|
||||||
deploy:
|
# deploy:
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
env:
|
# env:
|
||||||
RUNNER_TOOL_CACHE: /toolcache
|
# RUNNER_TOOL_CACHE: /toolcache
|
||||||
steps:
|
# steps:
|
||||||
-
|
# -
|
||||||
name: Deploy App
|
# name: Deploy App
|
||||||
uses: fjogeleit/http-request-action@v1
|
# uses: fjogeleit/http-request-action@v1
|
||||||
with:
|
# with:
|
||||||
url: 'http://192.168.4.11:7777/v1/update'
|
# url: 'http://192.168.4.11:7777/v1/update'
|
||||||
method: 'GET'
|
# method: 'GET'
|
||||||
bearerToken: ${{ secrets.DEPLOYTOKEN }}
|
# bearerToken: ${{ secrets.DEPLOYTOKEN }}
|
||||||
timeout: 60000
|
# timeout: 60000
|
@ -6,7 +6,6 @@ company: Fortra
|
|||||||
email: jonathan.branan@fortra.com
|
email: jonathan.branan@fortra.com
|
||||||
linkedin: https://www.linkedin.com/in/jonathanbranan/
|
linkedin: https://www.linkedin.com/in/jonathanbranan/
|
||||||
github: https://github.com/jonbranan
|
github: https://github.com/jonbranan
|
||||||
#gitea: https://git.jonb.io/jblu
|
|
||||||
---
|
---
|
||||||
|
|
||||||
Jonathan Branan is a Software Engineer at Fortra. He is mostly self-taught however he did attend a vocational class at Rackspace Open Cloud Academy.
|
Jonathan Branan is a Software Engineer at Fortra. He is mostly self-taught however he did attend a vocational class at Rackspace Open Cloud Academy.
|
||||||
|
@ -11,7 +11,7 @@ const siteMetadata = {
|
|||||||
siteLogo: `${process.env.BASE_PATH || ''}/static/images/logo.png`,
|
siteLogo: `${process.env.BASE_PATH || ''}/static/images/logo.png`,
|
||||||
socialBanner: `${process.env.BASE_PATH || ''}/static/images/twitter-card.png`,
|
socialBanner: `${process.env.BASE_PATH || ''}/static/images/twitter-card.png`,
|
||||||
// mastodon: 'https://mastodon.social/@mastodonuser',
|
// mastodon: 'https://mastodon.social/@mastodonuser',
|
||||||
email: 'jonbranan@gmail.com',
|
email: 'jonathan.branan@fortra.com',
|
||||||
github: 'https://github.com/jonbranan',
|
github: 'https://github.com/jonbranan',
|
||||||
// x: 'https://twitter.com/x',
|
// x: 'https://twitter.com/x',
|
||||||
// twitter: 'https://twitter.com/Twitter',
|
// twitter: 'https://twitter.com/Twitter',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user