mirror of
https://github.com/revanced/Apktool.git
synced 2025-05-02 06:54:25 +02:00
build: docker fixes (#3378)
* build: shorten tags on docker push * build: only deploy on commits to master
This commit is contained in:
parent
34a6970852
commit
03fa70bd2a
9
.github/workflows/docker-beta.yml
vendored
9
.github/workflows/docker-beta.yml
vendored
@ -1,9 +1,9 @@
|
||||
name: Build and push docker (beta)
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [master]
|
||||
types: [closed]
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
env:
|
||||
REGISTRY: ghcr.io
|
||||
@ -43,5 +43,4 @@ jobs:
|
||||
push: true
|
||||
tags: |
|
||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.APKTOOL_HASH }}
|
||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:beta
|
||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:master
|
||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:snapshot
|
||||
|
2
.github/workflows/docker-release.yml
vendored
2
.github/workflows/docker-release.yml
vendored
@ -44,7 +44,5 @@ jobs:
|
||||
file: ./docker/Dockerfile
|
||||
push: true
|
||||
tags: |
|
||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.APKTOOL_HASH }}
|
||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.APKTOOL_TAG }}
|
||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:prod
|
||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
|
||||
|
Loading…
x
Reference in New Issue
Block a user