Skip to content

Merge pull request #46 from traP-jp/fix-get-publish-channels #4

Merge pull request #46 from traP-jp/fix-get-publish-channels

Merge pull request #46 from traP-jp/fix-get-publish-channels #4

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
ghcr:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Collect metadata
id: meta
uses: docker/metadata-action@v4
with:
images: ghcr.io/trap-jp/h23w-01-backend
tags: |
type=ref,event=branch
type=ref,event=pr
- name: Login
uses: docker/login-action@v3
with:
registry: ghcr.io
username: h1rono
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}