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 8135aef
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/automated-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
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:
context: "{{defaultContext}}:hasher"
platforms: linux/amd64 #,linux/arm64,linux/arm/v7
push: true
tags: ghcr.io/jpetazzo/dockercoins/hasher:v0.1

0 comments on commit 8135aef

Please sign in to comment.