Skip to content

Commit

Permalink
Build ruby 3.2.2build3 using Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitryrck committed Oct 7, 2024
1 parent c8767e2 commit 20f6ad9
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/build-docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Build Docker Image

on:
push:
branches:
- production

jobs:
build-docker-image:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@master
- name: docker login
env:
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
run: echo $DOCKER_TOKEN | docker login --username $DOCKER_USERNAME --password-stdin
- run: \rm -fr .git
- run: docker build -t dmitryrck/ruby:3.2.2build3 dockerfiles/3.2.2build3
- run: docker push dmitryrck/ruby:3.2.2build3

0 comments on commit 20f6ad9

Please sign in to comment.