Skip to content

Commit

Permalink
ci(update): change build-test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
muchasxmaracas committed Jun 4, 2024
1 parent 516d8cb commit ccd41b7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker-image-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ name: Docker Image Build Test

on:
push:
branches: [ "main" ]
branches: [ "!main" ]
pull_request:
branches: [ "main" ]
branches: [ "!main" ]

jobs:

build:
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/docker-image-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@ env:

# There is a single job in this workflow. It's configured to run on the latest available version of Ubuntu.
jobs:

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

release:
permissions:
contents: write
Expand Down

0 comments on commit ccd41b7

Please sign in to comment.