build(deps): bump golang.org/x/net from 0.18.0 to 0.23.0 #495
Workflow file for this run
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
name: docker-image-ci | |
on: | |
push: | |
branches: | |
- "main" | |
pull_request: | |
branches: | |
- "main" | |
- "develop" | |
jobs: | |
push-image: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Login to GitHub Container Registry | |
if: ${{ !env.ACT }} | |
uses: docker/login-action@v1 | |
with: | |
registry: ghcr.io | |
username: ${{ secrets.CR_USER }} | |
password: ${{ secrets.CR_PAT }} | |
- uses: actions/checkout@v2 | |
- name: Build & Publish the Docker image | |
if: ${{ !env.ACT }} | |
run: | | |
docker build . --file Dockerfile --tag ghcr.io/covalenthq/bsp-geth:latest | |
docker push ghcr.io/covalenthq/bsp-geth:latest | |
# - name: Start containers | |
# run: docker-compose -f "docker-compose.yml" up --build --remove-orphans --force-recreate --exit-code-from agent | |
# - name: Check running bsp-geth | |
# run: docker inspect bsp-geth | |
# - name: Check running containers | |
# run: docker ps | |
# - name: Stop containers | |
# if: always() | |
# run: docker-compose -f "docker-compose.yml" down |