mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-06-28 01:06:58 +00:00
streamline docker (#792)
This commit is contained in:
parent
c117ee61d5
commit
e9da3e7b6a
8
.github/workflows/docker.yml
vendored
8
.github/workflows/docker.yml
vendored
@ -22,10 +22,6 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
steps:
|
steps:
|
||||||
- name: Generate a shorter Git commit sha.
|
|
||||||
id: gen_short_sha
|
|
||||||
run: echo "SHORT_SHA=${GITHUB_SHA::8}" >> $GITHUB_ENV
|
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
@ -64,10 +60,6 @@ jobs:
|
|||||||
tags: |
|
tags: |
|
||||||
type=ref,event=branch
|
type=ref,event=branch
|
||||||
type=ref,event=tag
|
type=ref,event=tag
|
||||||
type=raw,value=${{ env.SHORT_SHA }}
|
|
||||||
|
|
||||||
- name: Print a message
|
|
||||||
run: echo "${{ steps.meta.outputs.tags }}"
|
|
||||||
|
|
||||||
- name: Build and export (multi-arch)
|
- name: Build and export (multi-arch)
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
|
Loading…
x
Reference in New Issue
Block a user