Skip to content

build(deps): bump actions/checkout from 3 to 4 (#14) #15

build(deps): bump actions/checkout from 3 to 4 (#14)

build(deps): bump actions/checkout from 3 to 4 (#14) #15

Workflow file for this run

name: Build & Push rbuilder
# Build & Push rebuilds the rbuilder docker image on every push to main
on:
push:
branches:
- main
env:
REGISTRY: ghcr.io
IMAGE_NAME: cosmos/rbuilder
jobs:
build-and-push-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Log in to the Container registry
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v3
with:
context: ./rbuilder
push: true
tags: ghcr.io/cosmos/rbuilder:latest