build(deps): bump rstest from 0.18.2 to 0.23.0 #137
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 Build and Push to DOCR | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- "**" | |
paths: | |
- "forester/**" | |
jobs: | |
build-and-push: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Login to DigitalOcean Container Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: registry.digitalocean.com | |
username: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }} | |
password: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }} | |
- name: Build and push | |
uses: docker/build-push-action@v6 | |
with: | |
context: . | |
file: ./forester/Dockerfile | |
platforms: linux/amd64 | |
push: true | |
tags: registry.digitalocean.com/v3-relayer/forester:latest | |
- name: Inspect image | |
run: | | |
docker buildx imagetools inspect registry.digitalocean.com/v3-relayer/forester:latest |