mirror of
https://github.com/lyx0/yaf.git
synced 2024-11-13 19:49:53 +01:00
Rename docker-publish workflow jobs
This commit is contained in:
parent
728e6452b3
commit
ae33975668
1 changed files with 5 additions and 5 deletions
10
.github/workflows/docker-publish.yml
vendored
10
.github/workflows/docker-publish.yml
vendored
|
@ -21,19 +21,19 @@ env:
|
||||||
IMAGE_NAME: ${{ github.repository }}
|
IMAGE_NAME: ${{ github.repository }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# Run tests.
|
# Build Docker image
|
||||||
# See also https://docs.docker.com/docker-hub/builds/automated-testing/
|
build:
|
||||||
test:
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Run tests
|
- name: Build Docker image
|
||||||
run: docker build . --file Dockerfile
|
run: docker build . --file Dockerfile
|
||||||
|
|
||||||
|
# Publish built Docker image to the configured registry
|
||||||
push:
|
push:
|
||||||
needs: test
|
needs: build
|
||||||
if: ${{ github.event_name != 'pull_request' }}
|
if: ${{ github.event_name != 'pull_request' }}
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
Loading…
Reference in a new issue