Skip to content

Commit

Permalink
Allow CI to build and push
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez committed Aug 1, 2024
1 parent bf6fb14 commit 46e602b
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---

name: build

on:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v2

- name: Install Docker client
run: |
apk add curl
curl -L -o /tmp/docker.tgz https://download.docker.com/linux/static/stable/x86_64/docker-19.03.5.tgz
tar -xz --strip-components 1 -C /usr/bin -f /tmp/docker.tgz
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3.3
bundler-cache: true

- name: Build and push docker image
run: bin/rake docker:build_all
env:
DOCKER_USER: ${{ secrets.DOCKER_USER }}
DOCKER_PASS: ${{ secrets.DOCKER_PASS }}

0 comments on commit 46e602b

Please sign in to comment.