This repository was archived by the owner on Nov 19, 2023. It is now read-only.
File tree 4 files changed +38
-5
lines changed
4 files changed +38
-5
lines changed Original file line number Diff line number Diff line change 59
59
command : publish
60
60
env :
61
61
CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_REGISTRY_TOKEN }}
62
+
63
+ publish-gh-package :
64
+ runs-on : ubuntu-latest
65
+ permissions :
66
+ contents : read
67
+ packages : write
68
+
69
+ steps :
70
+ - name : Checkout repository
71
+ uses : actions/checkout@v3
72
+
73
+ - name : Log in to the Container registry
74
+ uses : docker/login-action@v2
75
+ with :
76
+ registry : ghcr.io
77
+ username : ${{ github.repository_owner }}
78
+ password : ${{ secrets.GITHUB_TOKEN }}
79
+
80
+ - name : Extract metadata (tags, labels) for Docker
81
+ id : meta
82
+ uses : docker/metadata-action@4
83
+ with :
84
+ images : ghcr.io/${{ github.repository_owner }}/${{ github.repository }}:{{ inputs.tag_name }}
85
+
86
+ - name : Build and push Docker image
87
+ uses : docker/build-push-action@v3
88
+ with :
89
+ context : .
90
+ push : true
91
+ tags : ${{ steps.meta.output.tags }}
92
+ labels : ${{ steps.meta.outputs.labels }}
Original file line number Diff line number Diff line change 1
1
# pq Changelog
2
2
3
+ ## 0.0.8 - 2022-10-1&
4
+
5
+ * Added Github action for ghcr.io packages
6
+
3
7
## 0.0.7 - 2022-10-17
4
8
5
9
* Updated repo links to point to prql organisation.
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ repository = "https://github.com/prql/prql-query"
5
5
license = " MIT OR Apache-2.0"
6
6
edition = " 2021"
7
7
rust-version = " 1.64.0"
8
- version = " 0.0.7 "
8
+ version = " 0.0.8 "
9
9
10
10
[[bin ]]
11
11
name = " pq"
Original file line number Diff line number Diff line change @@ -56,10 +56,8 @@ dowloaded from [Releases](https://github.com/prql/prql-query/releases/)
56
56
57
57
### Run as a container image (Docker)
58
58
59
- git clone https://github.com/prql/prql-query.git
60
- cd prql-query
61
- docker build -t pq .
62
- alias pq="docker run --rm -it -v $(pwd):/data -w /data -u $(id -u):$(id -g) pq"
59
+ docker pull ghcr.io/prql/prql-query:v0.0.8
60
+ alias pq="docker run --rm -it -v $(pwd):/data -w /data -u $(id -u):$(id -g) ghcr.io.prql/prql-query:v0.0.8"
63
61
pq --help
64
62
65
63
### Via Rust toolchain (Cargo)
You can’t perform that action at this time.
0 commit comments