Skip to content

Commit

Permalink
feat: build a :rolling image based on the main branch for quicker tes…
Browse files Browse the repository at this point in the history
…ting
  • Loading branch information
k0rventen committed Jul 10, 2023
1 parent f543514 commit dc71134
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/rolling.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Build a rolling image from the main branch

permissions:
contents: write

on:
push:
branches:
- "main"

jobs:
build-and-release:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Dockerhub login
uses: docker/login-action@v2
with:
username: ${{ github.repository_owner }}
password: ${{ secrets.DOCKER_TOKEN }}
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Docker build & push
uses: docker/build-push-action@v4
with:
context: ./ingester
push: true
platforms: linux/amd64,linux/arm64
tags: ${{ github.repository }}-ingester:rolling

0 comments on commit dc71134

Please sign in to comment.