Skip to content

Commit

Permalink
Docker release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
LINCKODE committed May 13, 2024
1 parent 35e788b commit a94e304
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/push-docker-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Deploy dev images to GHCR

on:
push:
branches:
- 'release_*'

jobs:
push-store-image:
runs-on: ubuntu-latest
steps:
- name: 'Checkout GitHub Action'
uses: actions/checkout@main

- name: 'Login to GitHub Container Registry'
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}

- name: 'Build Inventory Image'
run: |
docker build . --tag ghcr.io/qubic/qubic-archiver:${{github.ref_name}}
docker push ghcr.io/qubic/qubic-archiver:${{github.ref_name}}

0 comments on commit a94e304

Please sign in to comment.