Skip to content

Commit

Permalink
Increase tag priority
Browse files Browse the repository at this point in the history
  • Loading branch information
rezigned committed Apr 3, 2024
1 parent ffa1430 commit e2a5384
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ env:
IMAGE_NAME: ${{ github.repository }}
PLATFORM: linux/amd64


jobs:
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -70,9 +69,11 @@ jobs:
images: |
${{ env.IMAGE_NAME }}
ghcr.io/${{ env.IMAGE_NAME }}
flavor: |
latest=false
tags: |
type=raw,value={{ matrix.version }}
type=raw,value=latest,enable={{is_default_branch}}
type=raw,value=${{ matrix.version }}
type=raw,value=latest,enable=${{ matrix.version == '5.6.1' }}
# Build and push Docker image with Buildx (don't push on PR)
# https://github.com/docker/build-push-action
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ docker run --rm -it -d \
```sh
# default command `id > /tmp/.xz`
docker exec -it `docker ps -f name=xz-backdoor -q` ./xzbot -addr "127.0.0.1:22"
docker exec -it `docker ps -f name=xz-backdoor -q` ./xzbot

# custom command
docker exec -it `docker ps -f name=xz-backdoor -q` ./xzbot -addr "127.0.0.1:22" -cmd "uname -a > /tmp/.xz"
docker exec -it `docker ps -f name=xz-backdoor -q` ./xzbot -cmd "uname -a > /tmp/.xz"
```

## Acknowledgements
Expand Down

0 comments on commit e2a5384

Please sign in to comment.