Skip to content

Bump google.golang.org/protobuf from 1.28.1 to 1.33.0 in /go #104

Bump google.golang.org/protobuf from 1.28.1 to 1.33.0 in /go

Bump google.golang.org/protobuf from 1.28.1 to 1.33.0 in /go #104

Workflow file for this run

name: build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
os: [focal, jammy]
arch: ["amd64", "arm64"]
location: ["", "-usr-local"]
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.2.3"
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Install gems
run: bundle install
- name: Build package
run: make -f Makefile.docker container-${{ matrix.os }}${{ matrix.location }} package-${{ matrix.os }}${{ matrix.location }} ARCH=${{ matrix.arch }}
- name: Setup docker credentials
run: echo ${{ secrets.DOCKER_TOKEN }} | docker login -u stkaes --password-stdin
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
- name: Push container to docker registry
run: make -f Makefile.docker push-${{ matrix.os }}${{ matrix.location }} ARCH=${{ matrix.arch }}
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
- name: Setup SSH credentials
run: |
mkdir -p ~/.ssh/
echo "$SSH_KEY" > ~/.ssh/railsexpress.key
chmod 600 ~/.ssh/railsexpress.key
cat >>~/.ssh/config <<END
Host railsexpress.de
HostName railsexpress.de
User uploader
IdentityFile ~/.ssh/railsexpress.key
StrictHostKeyChecking no
END
env:
SSH_KEY: ${{ secrets.RAILSEXPRESS_SSH_KEY }}
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
- name: Upload the package
run: make -f Makefile.docker publish-${{ matrix.os }}${{ matrix.location }} ARCH=${{ matrix.arch }}
if: github.event_name == 'push' && github.ref == 'refs/heads/master'