mirror of
https://github.com/5etools-mirror-2/5etools-img.git
synced 2025-12-16 07:53:24 -06:00
Changes and switching stuff around
This commit is contained in:
17
.github/workflows/main.yml
vendored
17
.github/workflows/main.yml
vendored
@@ -59,16 +59,6 @@ jobs:
|
|||||||
uses: docker/setup-qemu-action@master
|
uses: docker/setup-qemu-action@master
|
||||||
with:
|
with:
|
||||||
platforms: all
|
platforms: all
|
||||||
|
|
||||||
- name: Testing metadata extraction
|
|
||||||
id: meta
|
|
||||||
uses: docker/metadata-action@master
|
|
||||||
with:
|
|
||||||
images: kokomo123/5etools-img
|
|
||||||
tags: |
|
|
||||||
add-arm64-building
|
|
||||||
type=edge
|
|
||||||
type=sha
|
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
id: buildx
|
id: buildx
|
||||||
@@ -83,16 +73,17 @@ jobs:
|
|||||||
context: .
|
context: .
|
||||||
builder: ${{ steps.buildx.outputs.name }}
|
builder: ${{ steps.buildx.outputs.name }}
|
||||||
platforms: linux/arm64,linux/amd64
|
platforms: linux/arm64,linux/amd64
|
||||||
push: false
|
push: true
|
||||||
|
tags: kokomo123/5etools-img:latest
|
||||||
|
|
||||||
- name: Push image
|
- name: Push image
|
||||||
run: |
|
run: |
|
||||||
echo IMAGE_ID=$IMAGE_ID
|
echo IMAGE_ID=$IMAGE_ID
|
||||||
echo IMAGE_VERSION=$IMAGE_VERSION
|
echo IMAGE_VERSION=$IMAGE_VERSION
|
||||||
docker tag $IMAGE_ID $IMAGE_ID:$IMAGE_VERSION
|
docker tag $IMAGE_ID $IMAGE_ID:$IMAGE_VERSION
|
||||||
[[ "${{ github.ref }}" == "refs/tags/"* ]] && docker tag $IMAGE_NAME $IMAGE_ID:add-arm64-building
|
[[ "${{ github.ref }}" == "refs/tags/"* ]] && docker tag $IMAGE_NAME $IMAGE_ID:latest
|
||||||
docker push $IMAGE_ID:$IMAGE_VERSION
|
docker push $IMAGE_ID:$IMAGE_VERSION
|
||||||
docker push $IMAGE_ID:add-arm64-building
|
docker push $IMAGE_ID:latest
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user