+8
-18
.tangled/workflows/release.yml
+8
-18
.tangled/workflows/release.yml
···
13
13
- git
14
14
- go
15
15
#- goreleaser
16
-
- docker
16
+
- podman
17
17
18
18
steps:
19
19
- name: Fetch git tags
···
28
28
exit 1
29
29
fi
30
30
echo "Found tag $TAG for commit $CURRENT_COMMIT"
31
-
echo "TAG=$TAG" >> $GITHUB_ENV || true
32
31
git checkout $TAG
33
32
34
-
- name: Login to atcr.io
35
-
command: docker login atcr.io -u evan.jarrett.net -p ${APP_PASSWORD}
36
-
37
33
- name: Build AppView Docker image
38
34
command: |
39
35
TAG=$(git describe --tags --exact-match 2>/dev/null || git tag --points-at HEAD | head -n1)
40
-
docker build -f Dockerfile.appview -t atcr.io/evan.jarrett.net/atcr-appview:${TAG} .
36
+
podman login atcr.io -u evan.jarrett.net -p ${APP_PASSWORD}
37
+
podman build -f Dockerfile.appview -t atcr.io/evan.jarrett.net/atcr-appview:${TAG} .
38
+
podman push atcr.io/evan.jarrett.net/atcr-appview:${TAG}
41
39
42
40
- name: Build Hold Docker image
43
41
command: |
44
42
TAG=$(git describe --tags --exact-match 2>/dev/null || git tag --points-at HEAD | head -n1)
45
-
docker build -f Dockerfile.hold -t atcr.io/evan.jarrett.net/atcr-hold:${TAG} .
46
-
47
-
- name: Push AppView Docker image
48
-
command: |
49
-
TAG=$(git describe --tags --exact-match 2>/dev/null || git tag --points-at HEAD | head -n1)
50
-
docker push atcr.io/evan.jarrett.net/atcr-appview:${TAG}
51
-
52
-
- name: Push Hold Docker image
53
-
command: |
54
-
TAG=$(git describe --tags --exact-match 2>/dev/null || git tag --points-at HEAD | head -n1)
55
-
docker push atcr.io/evan.jarrett.net/atcr-hold:${TAG}
56
-
43
+
podman login atcr.io -u evan.jarrett.net -p ${APP_PASSWORD}
44
+
podman build -f Dockerfile.hold -t atcr.io/evan.jarrett.net/atcr-hold:${TAG} .
45
+
podman push atcr.io/evan.jarrett.net/atcr-hold:${TAG}
46
+
57
47
# disable for now
58
48
# - name: Tidy Go modules
59
49
# command: go mod tidy