Skip to content

Commit

Permalink
Trying to fix docker gh action
Browse files Browse the repository at this point in the history
  • Loading branch information
rasulov1337 committed Oct 23, 2024
1 parent cee0546 commit 63b4601
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
name: Docker Image CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "*" ]
push:
branches: ['main']
pull_request:
branches: ['*']

jobs:
build-docker:
runs-on: ubuntu-latest

build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Build the Docker image
run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)
steps:
- uses: actions/checkout@v4
- name: Build the Docker image
run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)

0 comments on commit 63b4601

Please sign in to comment.