Skip to content

Commit

Permalink
Build images in Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasgarciaisaia committed Jul 12, 2024
1 parent c6ef994 commit c7ba680
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Build & Push Docker Image

on:
push:
branches:
- master

jobs:
build:
runs-on: ubuntu-24.04
env:
DOCKER_REPOSITORY: 'instedd/ruby'
DOCKER_USER: ${{ secrets.DOCKER_USER }}
DOCKER_PASS: ${{ secrets.DOCKER_PASS }}
steps:
- uses: actions/checkout@v3
- run: |
cd ruby-1.9 && docker build -t instedd/ruby:1.9 . && docker push instedd/ruby:1.9

0 comments on commit c7ba680

Please sign in to comment.