Skip to content

Upgraded events consumer to go 1.26 and improved dev workflow files #11

Upgraded events consumer to go 1.26 and improved dev workflow files

Upgraded events consumer to go 1.26 and improved dev workflow files #11

name: Create bob events bridge dev image
on:
push:
branches:
- 33-oracle-log-types
paths:
- 'bob-events-bridge/**'
- '.github/workflows/push-docker-bob-events-bridge-dev.yaml'
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.26.x
cache: false
- name: Run tests
run: go test -p 1 -tags ci ./...
working-directory: bob-events-bridge
docker-publish:
runs-on: ubuntu-latest
needs: test
permissions:
contents: read
packages: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: ./bob-events-bridge
file: ./bob-events-bridge/Dockerfile
push: true
tags: ghcr.io/qubic/bob-events-bridge:33-oracle-log-types