-
Notifications
You must be signed in to change notification settings - Fork 8
43 lines (36 loc) · 1.11 KB
/
publish.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Publish
on:
push:
tags: ["*.*.*"]
jobs:
main:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Docker login
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3
with:
username: ${{ secrets.WORKLEAP_DOCKERHUB_USERNAME }}
password: ${{ secrets.WORKLEAP_DOCKERHUB_TOKEN }}
- name: Docker metadata
id: meta
uses: docker/metadata-action@369eb591f429131d6889c46b94e711f089e6ca96 # v5
with:
images: workleap/azure-cli-credentials-proxy
- name: Docker build and push
uses: docker/build-push-action@b32b51a8eda65d6793cd0494a773d4f6bcef32dc # v6
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
linearb-release:
needs: [main]
uses: gsoft-inc/wl-reusable-workflows/.github/workflows/linearb-deployment.yml@main
with:
environment: "release"
secrets: inherit