fix play activity transaction when premium is already #128
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy | |
on: | |
push: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.ref }} | |
- name: Build Image | |
id: build-image | |
uses: redhat-actions/buildah-build@v2 | |
with: | |
image: nplaybot | |
tags: latest ${{ github.sha }} | |
containerfiles: | | |
./Dockerfile | |
oci: false | |
- name: Push To ghcr.io | |
id: push-to-ghcr | |
uses: redhat-actions/push-to-registry@v2 | |
with: | |
image: ${{ steps.build-image.outputs.image }} | |
tags: ${{ steps.build-image.outputs.tags }} | |
registry: ghcr.io/kaktushose/nplay-bot | |
username: Kaktushose | |
password: ${{ github.token }} | |
extra-args: | | |
--disable-content-trust | |
- name: Print image url | |
run: echo "Image pushed to ${{ steps.push-to-ghcr.outputs.registry-paths }}" |