Skip to content

Commit

Permalink
More workflow updates
Browse files Browse the repository at this point in the history
  • Loading branch information
nstogner committed Jan 12, 2024
1 parent 0f2584b commit ef73dc2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Create and publish a Docker image
name: Build

# Configures this workflow to run every time a change is pushed to the branch called `release`.
on:
Expand All @@ -8,7 +8,7 @@ on:
tags:
- "v*.*.*"
paths-ignore:
- 'README.md'
- "README.md"
pull_request:

# Defines two custom environment variables for the workflow. These are used for the Container registry domain, and a name for the Docker image that this workflow builds.
Expand All @@ -18,13 +18,13 @@ env:

# There is a single job in this workflow. It's configured to run on the latest available version of Ubuntu.
jobs:
build-and-push-image:
container:
runs-on: ubuntu-latest
# Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job.
permissions:
contents: read
packages: write
#
#
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -45,7 +45,7 @@ jobs:
# This step uses the `docker/build-push-action` action to build the image, based on your repository's `Dockerfile`. If the build succeeds, it pushes the image to GitHub Packages.
# It uses the `context` parameter to define the build's context as the set of files located in the specified path. For more information, see "[Usage](https://github.com/docker/build-push-action#usage)" in the README of the `docker/build-push-action` repository.
# It uses the `tags` and `labels` parameters to tag and label the image with the output from the "meta" step.
- name: Build and push Docker image
- name: Build and push container image
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
with:
context: .
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/load-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ run-name: Load tests by @${{ github.actor }}
on: workflow_dispatch

jobs:
load-tests:
k6:
runs-on: ubuntu-latest
permissions:
contents: "read"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
pull_request:

jobs:
unit-race-integration-tests:
unit-race-integration:
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand All @@ -23,7 +23,7 @@ jobs:
run: make test-race
- name: Run integration tests
run: make test-integration
e2e-tests:
e2e:
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit ef73dc2

Please sign in to comment.