Skip to content

Commit

Permalink
chore: simplify docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Wang committed Dec 10, 2021
1 parent c926790 commit c5e70ef
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Extract branch/tab name
run: echo LABEL=$(echo ${GITHUB_REF##*/}) >> $GITHUB_ENV

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

- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
Expand All @@ -34,4 +28,4 @@ jobs:
with:
context: .
push: true
tags: ghcr.io/${{ github.repository }}:${{ env.LABEL }}
tags: ghcr.io/${{ github.repository }}:${{ github.ref_name }}

0 comments on commit c5e70ef

Please sign in to comment.