tangled
alpha
login
or
join now
kacaii.dev
/
senac-brigade-server
0
fork
atom
wip: currently rewriting the project as a full stack application
tangled.org/kacaii.dev/sigo
gleam
0
fork
atom
overview
issues
1
pulls
pipelines
:fire: goodbye github!
kacaii.dev
2 months ago
7911535a
a1dd824b
-27
1 changed file
expand all
collapse all
unified
split
.github
workflows
build-container.yml
-27
.github/workflows/build-container.yml
···
1
1
-
name: build container image
2
2
-
on:
3
3
-
push:
4
4
-
tags:
5
5
-
- v*
6
6
-
7
7
-
jobs:
8
8
-
push:
9
9
-
runs-on: ubuntu-latest
10
10
-
permissions:
11
11
-
packages: write
12
12
-
contents: read
13
13
-
steps:
14
14
-
- uses: actions/checkout@v4
15
15
-
16
16
-
- name: build image
17
17
-
run: docker build . --file dockerfile --tag webapp
18
18
-
19
19
-
- name: log in to registry
20
20
-
run: echo "${{ secrets.github_token }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
21
21
-
22
22
-
- name: push image
23
23
-
run: |
24
24
-
image_id=ghcr.io/kacaii/senac-brigade-server
25
25
-
tag="$image_id":$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,')
26
26
-
docker tag webapp "$tag"
27
27
-
docker push "$tag"