Skip to content

Commit

Permalink
github workflow for docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
arosenfeld committed Jan 5, 2024
1 parent e94ba3a commit 43cdc7f
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,12 @@ jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v5
with:
push: true
registry: ghcr.io
tags: ${{ steps.meta.outputs.tags }}
username: ${{ secrets.GHCR_USERNAME }}
password: ${{ secrets.GHCR_TOKEN }}

0 comments on commit 43cdc7f

Please sign in to comment.