Skip to content

Commit

Permalink
️🏭️ Set up automated builds
Browse files Browse the repository at this point in the history
  • Loading branch information
jpetazzo committed Jun 5, 2024
1 parent 7342d25 commit 1d10c72
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/automated-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Automated Build

on:
push:
branches:
- main

env:
DOCKER_BUILDKIT: 1

jobs:
push:

runs-on: ubuntu-latest
if: github.event_name == 'push'

permissions:
contents: read
packages: write

steps:
-
uses: actions/checkout@v3

-
name: Log into GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ github.token }}

-
uses: docker/setup-qemu-action@v2

-
uses: docker/setup-buildx-action@v2

-
name: hasher
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64,linux/arm/v7
push: true
tags: ghcr.io/jpetazzo/dockercoins/hasher:v0.1

0 comments on commit 1d10c72

Please sign in to comment.