Skip to content

Commit

Permalink
buildx
Browse files Browse the repository at this point in the history
  • Loading branch information
Elijah Wilson committed Sep 27, 2023
1 parent a8c03a8 commit 64416b5
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@ jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Checkout
- name: Checkout
uses: actions/checkout@v4
-
name: Docker meta

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
Expand All @@ -29,15 +31,15 @@ jobs:
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
-
name: Login to GHCR
- name: Login to GHCR
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Build and push

- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
Expand Down

0 comments on commit 64416b5

Please sign in to comment.