Skip to content

Commit

Permalink
fix deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
bbengfort committed Aug 4, 2023
1 parent 20c8dba commit 284ea73
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Docker Metadata
id: meta
uses: docker/metadata-action@v3
uses: docker/metadata-action@v4
with:
images: |
bbengfort/noaalerts
Expand All @@ -33,24 +33,25 @@ jobs:
type=sha,prefix=,suffix=,format=short
- name: Setup QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v2

- name: Setup Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2

- name: Login to DockerHub
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}

- name: Build and Push
id: docker_build
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
context: .
file: ./Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
Expand Down
2 changes: 1 addition & 1 deletion cmd/noaalert/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func usage(c *cli.Context) (err error) {
}

var conf noaalert.Config
if err := confire.Usagef("ensign", &conf, tabs, format); err != nil {
if err := confire.Usagef("noaalert", &conf, tabs, format); err != nil {
return cli.Exit(err, 1)
}
tabs.Flush()
Expand Down

0 comments on commit 284ea73

Please sign in to comment.