|
24 | 24 | - warp-ubuntu-latest-x64-2x |
25 | 25 | - warp-ubuntu-latest-arm64-2x |
26 | 26 | app: |
27 | | - - name: unsend |
| 27 | + - name: usesend |
28 | 28 | dockerfile: ./docker/Dockerfile |
29 | 29 | context: . |
30 | 30 | - name: smtp-proxy |
@@ -65,24 +65,24 @@ jobs: |
65 | 65 | docker build \ |
66 | 66 | -f "$DOCKER_FILE" \ |
67 | 67 | --progress=plain \ |
68 | | - -t "unsend/$APP-$BUILD_PLATFORM:latest" \ |
69 | | - -t "unsend/$APP-$BUILD_PLATFORM:$GIT_SHA" \ |
70 | | - -t "unsend/$APP-$BUILD_PLATFORM:$APP_VERSION" \ |
71 | | - -t "ghcr.io/unsend-dev/$APP-$BUILD_PLATFORM:latest" \ |
72 | | - -t "ghcr.io/unsend-dev/$APP-$BUILD_PLATFORM:$GIT_SHA" \ |
73 | | - -t "ghcr.io/unsend-dev/$APP-$BUILD_PLATFORM:$APP_VERSION" \ |
| 68 | + -t "usesend/$APP-$BUILD_PLATFORM:latest" \ |
| 69 | + -t "usesend/$APP-$BUILD_PLATFORM:$GIT_SHA" \ |
| 70 | + -t "usesend/$APP-$BUILD_PLATFORM:$APP_VERSION" \ |
| 71 | + -t "ghcr.io/usesend/$APP-$BUILD_PLATFORM:latest" \ |
| 72 | + -t "ghcr.io/usesend/$APP-$BUILD_PLATFORM:$GIT_SHA" \ |
| 73 | + -t "ghcr.io/usesend/$APP-$BUILD_PLATFORM:$APP_VERSION" \ |
74 | 74 | "$CONTEXT" |
75 | 75 |
|
76 | 76 | - name: Push the docker image to DockerHub |
77 | | - run: docker push --all-tags "unsend/$APP-$BUILD_PLATFORM" |
| 77 | + run: docker push --all-tags "usesend/$APP-$BUILD_PLATFORM" |
78 | 78 | env: |
79 | 79 | BUILD_PLATFORM: ${{ matrix.os == 'warp-ubuntu-latest-arm64-2x' && 'arm64' || 'amd64' }} |
80 | 80 | APP: ${{ matrix.app.name }} |
81 | 81 | DOCKER_FILE: ${{ matrix.app.dockerfile }} |
82 | 82 | CONTEXT: ${{ matrix.app.context }} |
83 | 83 |
|
84 | 84 | - name: Push the docker image to GitHub Container Registry |
85 | | - run: docker push --all-tags "ghcr.io/unsend-dev/$APP-$BUILD_PLATFORM" |
| 85 | + run: docker push --all-tags "ghcr.io/usesend/$APP-$BUILD_PLATFORM" |
86 | 86 | env: |
87 | 87 | BUILD_PLATFORM: ${{ matrix.os == 'warp-ubuntu-latest-arm64-2x' && 'arm64' || 'amd64' }} |
88 | 88 | APP: ${{ matrix.app.name }} |
@@ -117,49 +117,49 @@ jobs: |
117 | 117 | APP_VERSION="$(git name-rev --tags --name-only $(git rev-parse HEAD) | head -n 1 | sed 's/\^0//')" |
118 | 118 | GIT_SHA="$(git rev-parse HEAD)" |
119 | 119 |
|
120 | | - for APP_NAME in unsend smtp-proxy; do |
| 120 | + for APP_NAME in usesend smtp-proxy; do |
121 | 121 | docker manifest create \ |
122 | | - unsend/$APP_NAME:latest \ |
123 | | - --amend unsend/$APP_NAME-amd64:latest \ |
124 | | - --amend unsend/$APP_NAME-arm64:latest |
| 122 | + usesend/$APP_NAME:latest \ |
| 123 | + --amend usesend/$APP_NAME-amd64:latest \ |
| 124 | + --amend usesend/$APP_NAME-arm64:latest |
125 | 125 |
|
126 | 126 | docker manifest create \ |
127 | | - unsend/$APP_NAME:$GIT_SHA \ |
128 | | - --amend unsend/$APP_NAME-amd64:$GIT_SHA \ |
129 | | - --amend unsend/$APP_NAME-arm64:$GIT_SHA |
| 127 | + usesend/$APP_NAME:$GIT_SHA \ |
| 128 | + --amend usesend/$APP_NAME-amd64:$GIT_SHA \ |
| 129 | + --amend usesend/$APP_NAME-arm64:$GIT_SHA |
130 | 130 |
|
131 | 131 | docker manifest create \ |
132 | | - unsend/$APP_NAME:$APP_VERSION \ |
133 | | - --amend unsend/$APP_NAME-amd64:$APP_VERSION \ |
134 | | - --amend unsend/$APP_NAME-arm64:$APP_VERSION |
| 132 | + usesend/$APP_NAME:$APP_VERSION \ |
| 133 | + --amend usesend/$APP_NAME-amd64:$APP_VERSION \ |
| 134 | + --amend usesend/$APP_NAME-arm64:$APP_VERSION |
135 | 135 |
|
136 | | - docker manifest push unsend/$APP_NAME:latest |
137 | | - docker manifest push unsend/$APP_NAME:$GIT_SHA |
138 | | - docker manifest push unsend/$APP_NAME:$APP_VERSION |
| 136 | + docker manifest push usesend/$APP_NAME:latest |
| 137 | + docker manifest push usesend/$APP_NAME:$GIT_SHA |
| 138 | + docker manifest push usesend/$APP_NAME:$APP_VERSION |
139 | 139 | done |
140 | 140 |
|
141 | 141 | - name: Create and push GitHub Container Registry manifest |
142 | 142 | run: | |
143 | 143 | APP_VERSION="$(git name-rev --tags --name-only $(git rev-parse HEAD) | head -n 1 | sed 's/\^0//')" |
144 | 144 | GIT_SHA="$(git rev-parse HEAD)" |
145 | 145 |
|
146 | | - for APP_NAME in unsend smtp-proxy; do |
| 146 | + for APP_NAME in usesend smtp-proxy; do |
147 | 147 | docker manifest create \ |
148 | | - ghcr.io/unsend-dev/$APP_NAME:latest \ |
149 | | - --amend ghcr.io/unsend-dev/$APP_NAME-amd64:latest \ |
150 | | - --amend ghcr.io/unsend-dev/$APP_NAME-arm64:latest |
| 148 | + ghcr.io/usesend/$APP_NAME:latest \ |
| 149 | + --amend ghcr.io/usesend/$APP_NAME-amd64:latest \ |
| 150 | + --amend ghcr.io/usesend/$APP_NAME-arm64:latest |
151 | 151 |
|
152 | 152 | docker manifest create \ |
153 | | - ghcr.io/unsend-dev/$APP_NAME:$GIT_SHA \ |
154 | | - --amend ghcr.io/unsend-dev/$APP_NAME-amd64:$GIT_SHA \ |
155 | | - --amend ghcr.io/unsend-dev/$APP_NAME-arm64:$GIT_SHA |
| 153 | + ghcr.io/usesend/$APP_NAME:$GIT_SHA \ |
| 154 | + --amend ghcr.io/usesend/$APP_NAME-amd64:$GIT_SHA \ |
| 155 | + --amend ghcr.io/usesend/$APP_NAME-arm64:$GIT_SHA |
156 | 156 |
|
157 | 157 | docker manifest create \ |
158 | | - ghcr.io/unsend-dev/$APP_NAME:$APP_VERSION \ |
159 | | - --amend ghcr.io/unsend-dev/$APP_NAME-amd64:$APP_VERSION \ |
160 | | - --amend ghcr.io/unsend-dev/$APP_NAME-arm64:$APP_VERSION |
| 158 | + ghcr.io/usesend/$APP_NAME:$APP_VERSION \ |
| 159 | + --amend ghcr.io/usesend/$APP_NAME-amd64:$APP_VERSION \ |
| 160 | + --amend ghcr.io/usesend/$APP_NAME-arm64:$APP_VERSION |
161 | 161 |
|
162 | | - docker manifest push ghcr.io/unsend-dev/$APP_NAME:latest |
163 | | - docker manifest push ghcr.io/unsend-dev/$APP_NAME:$GIT_SHA |
164 | | - docker manifest push ghcr.io/unsend-dev/$APP_NAME:$APP_VERSION |
| 162 | + docker manifest push ghcr.io/usesend/$APP_NAME:latest |
| 163 | + docker manifest push ghcr.io/usesend/$APP_NAME:$GIT_SHA |
| 164 | + docker manifest push ghcr.io/usesend/$APP_NAME:$APP_VERSION |
165 | 165 | done |
0 commit comments